summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_SM
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2013-01-05 11:46:43 +0000
committerWim Vriend <facetracknoir@gmail.com>2013-01-05 11:46:43 +0000
commit292740d183ee6970e7241c822e707ffad7e670f5 (patch)
tree8ec25ea7726fc1fb8e469300881e441d6d08e67b /FTNoIR_Tracker_SM
parenta259ffd36f3a6e72787bc423ca016de0d05a8a02 (diff)
Fixed engine-status display when EXIT is done.
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@205 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Tracker_SM')
-rw-r--r--FTNoIR_Tracker_SM/ftnoir_tracker_faceapi_dialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/FTNoIR_Tracker_SM/ftnoir_tracker_faceapi_dialog.cpp b/FTNoIR_Tracker_SM/ftnoir_tracker_faceapi_dialog.cpp
index e334f932..5c422402 100644
--- a/FTNoIR_Tracker_SM/ftnoir_tracker_faceapi_dialog.cpp
+++ b/FTNoIR_Tracker_SM/ftnoir_tracker_faceapi_dialog.cpp
@@ -38,6 +38,7 @@ QWidget()
ui.setupUi( this );
theTracker = NULL;
+ prev_state = -1;
// Connect Qt signals to member-functions
connect(ui.btnOK, SIGNAL(clicked()), this, SLOT(doOK()));
@@ -107,6 +108,7 @@ void TrackerControls::doOK() {
// override show event
void TrackerControls::showEvent ( QShowEvent * event ) {
+ prev_state = -1;
loadSettings();
}