From 0b14660427ab999d7ae1027ff825851b75431b11 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Thu, 2 Jan 2014 13:26:38 +0100 Subject: [PATCH] QmlDesigner.PropertyEditor: remove remaining transactions from controls Since there are issues with transaction we play safe. Task-number: QTCREATORBUG-11134 Change-Id: I2144f81f14046317d967d6644befeb74e8d27eb8 Reviewed-by: Marco Bubke --- .../propertyEditorQmlSources/HelperWidgets/CheckBox.qml | 7 ------- .../propertyEditorQmlSources/HelperWidgets/SpinBox.qml | 8 -------- 2 files changed, 15 deletions(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CheckBox.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CheckBox.qml index fa85db2fb4..f565694f72 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CheckBox.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/CheckBox.qml @@ -66,13 +66,6 @@ Controls.CheckBox { backendValue.value = checkBox.checked; } - onFocusChanged: { - if (focus) { - transaction.start(); - } else { - transaction.end(); - } - } style: CheckBoxStyle { spacing: 8 label: Controls.Label { text: control.text ; color: checkBox.textColor } diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/SpinBox.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/SpinBox.qml index 1d361b8273..43cc05fa84 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/SpinBox.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/SpinBox.qml @@ -63,14 +63,6 @@ Controls.SpinBox { backendValue.value = value; } - onFocusChanged: { - if (focus) { - transaction.start(); - } else { - transaction.end(); - } - } - Controls.Slider { id: slider -- GitLab