diff options
-rw-r--r-- | options/bundle.cpp | 3 | ||||
-rw-r--r-- | options/bundle.hpp | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/options/bundle.cpp b/options/bundle.cpp index 83981ddf..cf75097c 100644 --- a/options/bundle.cpp +++ b/options/bundle.cpp @@ -28,6 +28,7 @@ void bundle::reload() connector::notify_all_values(); emit reloading(); } + emit changed(); } void bundle::store_kv(const QString& name, const QVariant& datum) @@ -38,6 +39,8 @@ void bundle::store_kv(const QString& name, const QVariant& datum) if (group_name.size()) connector::notify_values(name); + + emit changed(); } bool bundle::contains(const QString &name) const diff --git a/options/bundle.hpp b/options/bundle.hpp index a948ac44..f83e6800 100644 --- a/options/bundle.hpp +++ b/options/bundle.hpp @@ -40,6 +40,7 @@ private: signals: void reloading(); void saving() const; + void changed() const; public: bundle(const QString& group_name); ~bundle() override {} |