diff --git a/src/qml/value-editor/editors/HashItemEditor.qml b/src/qml/value-editor/editors/HashItemEditor.qml index 9e3f026a..d738c7a3 100644 --- a/src/qml/value-editor/editors/HashItemEditor.qml +++ b/src/qml/value-editor/editors/HashItemEditor.qml @@ -21,7 +21,7 @@ AbstractEditor { value: "" enabled: root.active || root.state !== "edit" - showFormatters: root.state != "new" + showFormatters: root.state == "edit" } MultilineEditor { @@ -29,7 +29,7 @@ AbstractEditor { Layout.fillWidth: true Layout.fillHeight: true enabled: root.active || root.state !== "edit" - showFormatters: root.state != "new" + showFormatters: root.state == "edit" } function validateValue(callback) { diff --git a/src/qml/value-editor/editors/SingleItemEditor.qml b/src/qml/value-editor/editors/SingleItemEditor.qml index 3213a861..ee99fa15 100644 --- a/src/qml/value-editor/editors/SingleItemEditor.qml +++ b/src/qml/value-editor/editors/SingleItemEditor.qml @@ -18,7 +18,7 @@ AbstractEditor { Layout.fillHeight: true value: "" enabled: root.active || root.state !== "edit" - showFormatters: root.state != "new" + showFormatters: root.state == "edit" } function validateValue(callback) { diff --git a/src/qml/value-editor/editors/SortedSetItemEditor.qml b/src/qml/value-editor/editors/SortedSetItemEditor.qml index 8bb6dcf8..f5c1ff46 100644 --- a/src/qml/value-editor/editors/SortedSetItemEditor.qml +++ b/src/qml/value-editor/editors/SortedSetItemEditor.qml @@ -49,7 +49,7 @@ AbstractEditor { Layout.fillHeight: true value: "" enabled: root.active || root.state !== "edit" - showFormatters: root.state != "new" + showFormatters: root.state == "edit" } function validateValue(callback) {