Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.11.1
-
None
Description
QTabWidget::setTabEnabled has undocumented side effects upon currentIndex.
It calls QTabBar::setTabEnabled, which implements wild guesses about what new value of currentIndex might be reasonable. I suggest to remove these four code lines from QTabBar::setTabEnabled for good.
Otherwise, the possible change of currentIndex ought to be described in the documentation of QTabWidget::setTabEnabled.