summaryrefslogtreecommitdiff
path: root/src/tabwindow/tabwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabwindow/tabwindow.cpp')
-rw-r--r--src/tabwindow/tabwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tabwindow/tabwindow.cpp b/src/tabwindow/tabwindow.cpp
index c42d2048..e1d239a7 100644
--- a/src/tabwindow/tabwindow.cpp
+++ b/src/tabwindow/tabwindow.cpp
@@ -339,6 +339,8 @@ void TabWindow::updateNewTabButtonPosition()
if (isFullScreen())
return;
+ setUpdatesEnabled(false);
+
int tabWidgetWidth = frameSize().width();
int tabBarWidth = tabBar()->sizeHint().width();
@@ -353,6 +355,7 @@ void TabWindow::updateNewTabButtonPosition()
}
_addTabButton->show();
+ setUpdatesEnabled(true);
}