summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index cbe862fb..699103a0 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -140,7 +140,9 @@ void MainView::updateTabButtonPosition()
if (ButtonInCorner)
{
setCornerWidget(0);
- m_addTabButton->show();
+ // new window problem
+ if(count()>1)
+ m_addTabButton->show();
ButtonInCorner = false;
}