summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/facetracknoir.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-11 18:26:57 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-11 18:26:57 +0200
commit7e45559ab1f2c5ae048a3639417e65edcf4428d4 (patch)
treec466a54dc8b5a695ed0f68e5ffcb7b3af6426efc /facetracknoir/facetracknoir.cpp
parent2f9e74a09db54e05dc74116def09a10460df6435 (diff)
Fix old regression when creating/loading a profile
Diffstat (limited to 'facetracknoir/facetracknoir.cpp')
-rw-r--r--facetracknoir/facetracknoir.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index 5851a859..2fb07baa 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -566,8 +566,6 @@ void FaceTrackNoIR::saveAs()
// Load the current Settings from the currently 'active' INI-file.
//
void FaceTrackNoIR::loadSettings() {
- if (looping)
- return;
looping = true;
qDebug() << "loadSettings says: Starting ";
QSettings settings("Abbequerque Inc.", "FaceTrackNoIR"); // Registry settings (in HK_USER)
@@ -1321,6 +1319,8 @@ void FaceTrackNoIR::trackingSourceSelected(int index)
//
void FaceTrackNoIR::profileSelected(int index)
{
+ if (looping)
+ return;
//
// Read the current INI-file setting, to get the folder in which it's located...
//