summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-11-11 13:27:26 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-11-11 13:27:26 +0100
commit9c72e7ee9b4715594b55fb7e2257d02a7d843b8e (patch)
tree6f1d42a2b37b152061ad974ba3701ecae215bba6 /facetracknoir
parent7a14410a282f76b392eaff1ba2651b820aeb24a4 (diff)
disallow profile switch during tracking
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/ui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/facetracknoir/ui.cpp b/facetracknoir/ui.cpp
index c30343e0..7068c4cb 100644
--- a/facetracknoir/ui.cpp
+++ b/facetracknoir/ui.cpp
@@ -197,6 +197,8 @@ void MainWindow::updateButtonState(bool running, bool inertialp)
ui.btnStartTracker->setEnabled(not_running);
ui.btnStopTracker->setEnabled(running);
ui.video_frame_label->setVisible(not_running || inertialp);
+ ui.btnSaveAs->setEnabled(not_running);
+ ui.btnLoad->setEnabled(not_running);
}
void MainWindow::bindKeyboardShortcuts()