We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 916df28 commit c552fefCopy full SHA for c552fef
src/DockAreaTabBar.cpp
@@ -108,6 +108,9 @@ void DockAreaTabBarPrivate::updateTabs()
108
{
109
TabWidget->show();
110
TabWidget->setActiveTab(true);
111
+ // Sometimes the synchronous calculation of the rectangular area fails
112
+ // Therefore we use QTimer::singleShot here to execute the call
113
+ // within the event loop - see #520
114
QTimer::singleShot(0, [&, TabWidget]{
115
_this->ensureWidgetVisible(TabWidget);
116
});
0 commit comments