diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-12-07 00:28:40 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-12-10 02:48:06 +0100 |
commit | 290598acc8851afcce5b7df19bb495e3c0ce4e2b (patch) | |
tree | 9c5f7c8de95d6f730be366549c3a4f10fc8337d1 /src | |
parent | Fix open external link on web app (diff) | |
download | rekonq-290598acc8851afcce5b7df19bb495e3c0ce4e2b.tar.xz |
do not update tabbar until we decided where putting the new tab button
Diffstat (limited to 'src')
-rw-r--r-- | src/tabwindow/tabwindow.cpp | 3 |
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); } |