summaryrefslogtreecommitdiffhomepage
path: root/qfunctionconfigurator
diff options
context:
space:
mode:
Diffstat (limited to 'qfunctionconfigurator')
-rw-r--r--qfunctionconfigurator/functionconfig.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qfunctionconfigurator/functionconfig.cpp b/qfunctionconfigurator/functionconfig.cpp
index 31e3641d..cf2516ca 100644
--- a/qfunctionconfigurator/functionconfig.cpp
+++ b/qfunctionconfigurator/functionconfig.cpp
@@ -177,6 +177,7 @@ const QList<QPointF> Map::getPoints() {
void Map::invalidate_unsaved_settings()
{
+ QMutexLocker foo(&_mutex);
cur = saved;
reload();
}