summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/ui.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-09-03 09:35:22 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-09-03 09:35:22 +0200
commit3bce28ee28b3266c2a8cd871a3a891d477621ce2 (patch)
tree8b3176f3c2d88daffbe7bd87b657e764e6230c1c /facetracknoir/ui.cpp
parent66054ee6ccd0e86534c42167d9e93704f7995db8 (diff)
also save if save pending when start tracking
Just to be safe. Issue: #179
Diffstat (limited to 'facetracknoir/ui.cpp')
-rw-r--r--facetracknoir/ui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/facetracknoir/ui.cpp b/facetracknoir/ui.cpp
index 4d93f3b2..984901f6 100644
--- a/facetracknoir/ui.cpp
+++ b/facetracknoir/ui.cpp
@@ -299,6 +299,8 @@ void MainWindow::startTracker() {
// trackers take care of layout state updates
const bool is_inertial = ui.video_frame->layout() == nullptr;
updateButtonState(true, is_inertial);
+
+ maybe_save();
}
void MainWindow::stopTracker( ) {