Currently if you have for example the third item selected, then you remove the first item, then the third item is still selected.
Should not the selection move when adding and removing items? Feels alot more logical.
Might not be a direct bug, but i still think this is wrong behaviour.
Strange behaviour with selected in IGUITable
Re: Strange behaviour with selected in IGUITable
You mean on removeRow? I just checked the listbox code and it's done there, so I guess the table should indeed behave the same way. Thanks for reporting.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: Strange behaviour with selected in IGUITable
Exactly, selection should move up one step when removing a row above it.