Utils: Update gui when setting default value

Allows the undoable to receive the right value

Change-Id: I77f1bc0d76ca2c5fc2268cacfa7e42ce5787bd92
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Marcus Tillmanns
2023-09-20 10:19:45 +02:00
parent c3308ab8b8
commit 49f987f79c

View File

@@ -296,7 +296,8 @@ public:
{
m_default = value;
m_internal = value;
internalToBuffer(); // Might be more than a plain copy.
if (internalToBuffer()) // Might be more than a plain copy.
bufferToGui();
}
bool isDefaultValue() const override