Disable Stash actions when necessary

FossilOrigin-Name: 8814626a6033ff2729ea9643bb969ad4f3baa88c
This commit is contained in:
kostas
2012-04-15 12:31:29 +00:00
parent 8e1a24d506
commit 2bec83d3b5
3 changed files with 11 additions and 7 deletions

View File

@ -486,6 +486,10 @@ void MainWindow::enableActions(bool on)
ui->actionUpdate->setEnabled(on);
ui->actionOpenFolder->setEnabled(on);
ui->actionRenameFolder->setEnabled(on);
ui->actionNewStash->setEnabled(on);
ui->actionDeleteStash->setEnabled(on);
ui->actionDiffStash->setEnabled(on);
ui->actionApplyStash->setEnabled(on);
}
//------------------------------------------------------------------------------
bool MainWindow::refresh()