Fixed actions saved in db

git-svn-id: http://rtabmap.googlecode.com/svn/branches/0.3/rtabmap@59 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
matlabbe
2011-06-06 05:12:27 +00:00
parent 6fccc56e7a
commit 147bee0e63
5 changed files with 31 additions and 21 deletions

View File

@@ -1303,7 +1303,6 @@ void MainWindow::changeState(MainWindow::State newState)
_ui->actionOpen_working_directory->setEnabled(true);
_ui->actionApply_settings_to_the_detector->setEnabled(true);
_ui->menuSelect_source->setEnabled(true);
_ui->doubleSpinBox_stats_imgRate->setEnabled(true);
_ui->statusbar->clearMessage();
_state = newState;
_oneSecondTimer->stop();
@@ -1378,7 +1377,6 @@ void MainWindow::changeState(MainWindow::State newState)
_ui->actionOpen_working_directory->setEnabled(false);
_ui->actionApply_settings_to_the_detector->setEnabled(false);
_ui->menuSelect_source->setEnabled(false);
_ui->doubleSpinBox_stats_imgRate->setEnabled(false);
_ui->statusbar->showMessage(tr("Monitoring..."));
_state = newState;
_ui->label_elapsedTime->setText("00:00:00");