diff mainwindow.cpp @ 327:f166f70c64f9 filelist_right_button_menu

Make Add/Remove active only when Work tab is selected (again!) -- because they are the only selection-modal toolbar buttons now
author Chris Cannam
date Fri, 11 Mar 2011 17:42:12 +0000
parents 6e1fdda1dff2
children ea62eb083ed4
line wrap: on
line diff
--- a/mainwindow.cpp	Fri Mar 11 15:33:16 2011 +0000
+++ b/mainwindow.cpp	Fri Mar 11 17:42:12 2011 +0000
@@ -2221,6 +2221,9 @@
 
 void MainWindow::connectTabsSignals()
 {
+    connect(m_hgTabs, SIGNAL(currentChanged(int)),
+            this, SLOT(enableDisableActions()));
+
     connect(m_hgTabs, SIGNAL(commit()),
             this, SLOT(hgCommit()));