Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.11.3, 5.12.3
-
None
-
Windows
-
-
a7cbb8c639487edbabc08ea99498503b33c9f6d6 (qt/qtbase/5.12)
Description
When a QTabBar is placed, but the widget is the last in the tabstop list, calling QTabBar->setCurrentIndex() causes the application to crash.
This happens on Windows - tried with QT5.11, 5.9 and 5.12.3. Also tried with MinGW64 and MSVC2015.
This does not happen on Linux.
To re-create, build each of the two examples in the attached tar file. Manually click on the first lineedit on the first tab, and then select 'Second Tab, Second Item' from the menu.
The file called 'First' will work, and the file called 'Last' will freeze.
The only difference is the tabstop section in mainwindow.ui.