]> git.lizzy.rs Git - irrlicht.git/commit
Fix IGUIElements not getting a tab order because of invisible or disabled parents.
authorcutealien <cutealien@dfc29bdd-3216-0410-991c-e03cc46cb475>
Tue, 27 Sep 2022 16:02:39 +0000 (16:02 +0000)
committersfan5 <sfan5@live.de>
Fri, 24 Mar 2023 16:09:11 +0000 (17:09 +0100)
commit3cf75cdce41a9d1e40dc2398cca295bf28d54d2e
tree4b333ced2d5da9b87a8cd397373173d0ea7cbcb5
parenta7f9afd2898a39cec175d877774b729c61630274
Fix IGUIElements not getting a tab order because of invisible or disabled parents.

First problem was that IGUIElement::getNextElement wasn't passing includeInvisible and includeDisabled flags recursively, so anything deeper than one level could fail if an element was disabled/invisible in between while it was created.
Second problem was that setTabOrder(-1) did ignore disabled elements. So when any parent was disabled when elements were created they never got a tab order.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6428 dfc29bdd-3216-0410-991c-e03cc46cb475
include/IGUIElement.h