diff options
Diffstat (limited to 'options/value.hpp')
-rw-r--r-- | options/value.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/options/value.hpp b/options/value.hpp index 92e2878f..10903b19 100644 --- a/options/value.hpp +++ b/options/value.hpp @@ -92,10 +92,15 @@ public: return traits::qvariant_from_value(def); } + never_inline void notify() const override { if (!is_null()) + { + maybe_trace(true); emit valueChanged(traits::storage_from_value(get())); + maybe_trace(false); + } } auto& operator=(t&& datum) noexcept |