summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--options/bundle.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/options/bundle.cpp b/options/bundle.cpp
index cf75097c..644fe4c6 100644
--- a/options/bundle.cpp
+++ b/options/bundle.cpp
@@ -23,12 +23,16 @@ void bundle::reload()
{
QMutexLocker l(&mtx);
saved = group(group_name);
+ const bool has_changes = transient != saved;
transient = saved;
- connector::notify_all_values();
- emit reloading();
+ if (has_changes)
+ {
+ connector::notify_all_values();
+ emit reloading();
+ emit changed();
+ }
}
- emit changed();
}
void bundle::store_kv(const QString& name, const QVariant& datum)