Commit 5a7a6ed2 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: fixes reset glitch

parent 5658daa1
...@@ -64,7 +64,10 @@ QToolButton { ...@@ -64,7 +64,10 @@ QToolButton {
text: qsTr("Reset") text: qsTr("Reset")
visible: backendValue.isInSubState || backendValue.isInModel visible: backendValue.isInSubState || backendValue.isInModel
onTriggered: { onTriggered: {
backendValue.resetValue(); transaction.start();
backendValue.resetValue();
backendValue.resetValue();
transaction.end();
} }
}, },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment