forked from qt-creator/qt-creator
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:
@@ -296,7 +296,8 @@ public:
|
|||||||
{
|
{
|
||||||
m_default = value;
|
m_default = value;
|
||||||
m_internal = 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
|
bool isDefaultValue() const override
|
||||||
|
|||||||
Reference in New Issue
Block a user