summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 5e2412f0..e59aede7 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -144,8 +144,8 @@ MainWindow::MainWindow()
// then, setup our actions
setupActions();
- // BEFORE setupGUI!!
- m_view->addNewTabButton();
+ // BEFORE setupGUI, AFTER setupActions!!
+ m_view->addNewTabButton(actionByName("new_tab"));
// setting Panels
setupPanels();