diff --git a/widgets/tabbar.cpp b/widgets/tabbar.cpp index a347a8dbf..4f9b448ff 100644 --- a/widgets/tabbar.cpp +++ b/widgets/tabbar.cpp @@ -561,6 +561,9 @@ void TabBar::setTabBarShown(bool show) if (!show && !d->tabWidgetMode) { return; } + if (d->tabBarShown == show) { + return; + } d->tabBarShown = show; if (!show) {