comparison 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
comparison
equal deleted inserted replaced
326:6e1fdda1dff2 327:f166f70c64f9
2219 connect(m_hgServeAct, SIGNAL(triggered()), this, SLOT(hgServe())); 2219 connect(m_hgServeAct, SIGNAL(triggered()), this, SLOT(hgServe()));
2220 } 2220 }
2221 2221
2222 void MainWindow::connectTabsSignals() 2222 void MainWindow::connectTabsSignals()
2223 { 2223 {
2224 connect(m_hgTabs, SIGNAL(currentChanged(int)),
2225 this, SLOT(enableDisableActions()));
2226
2224 connect(m_hgTabs, SIGNAL(commit()), 2227 connect(m_hgTabs, SIGNAL(commit()),
2225 this, SLOT(hgCommit())); 2228 this, SLOT(hgCommit()));
2226 2229
2227 connect(m_hgTabs, SIGNAL(revert()), 2230 connect(m_hgTabs, SIGNAL(revert()),
2228 this, SLOT(hgRevert())); 2231 this, SLOT(hgRevert()));