diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-11 18:26:57 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-11 18:26:57 +0200 |
commit | 7e45559ab1f2c5ae048a3639417e65edcf4428d4 (patch) | |
tree | c466a54dc8b5a695ed0f68e5ffcb7b3af6426efc | |
parent | 2f9e74a09db54e05dc74116def09a10460df6435 (diff) |
Fix old regression when creating/loading a profile
-rw-r--r-- | facetracknoir/facetracknoir.cpp | 4 |
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...
//
|