summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index a662bbb0..79e8f165 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -79,6 +79,7 @@ MainView::MainView(QWidget *parent)
// connecting tabbar signals
connect(m_tabBar, SIGNAL(closeTab(int)), this, SLOT(slotCloseTab(int)));
connect(m_tabBar, SIGNAL(mouseMiddleClick(int)), this, SLOT(slotCloseTab(int)));
+ connect(m_tabBar, SIGNAL(newTabRequest()), this, SLOT(newTab()));
connect(m_tabBar, SIGNAL(cloneTab(int)), this, SLOT(slotCloneTab(int)));
connect(m_tabBar, SIGNAL(closeOtherTabs(int)), this, SLOT(slotCloseOtherTabs(int)));