summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2017-08-09 11:24:41 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2017-08-10 07:30:40 +0000
commita094841bdda5461ebeaeab4620dde8222fa8312d (patch)
tree8b6c18a5561c527cd550132cdf9bd35049bf0e7f
parent1e781cd396ce78995677a530ca4d788c737dc877 (diff)
downloadqt-creator-4.3.tar.gz
QmlDesigner: Fix macOS menu issue4.3
Introducing the Loader broke the menu on macOS. There is no reason to disable the Loader. This was premature optimization. Task-number: QTCREATORBUG-18662 Change-Id: Ief00246182ab1f1096efec634ed0626aeba95c84 Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/ExtendedFunctionButton.qml2
1 files changed, 0 insertions, 2 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/ExtendedFunctionButton.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/ExtendedFunctionButton.qml
index 82178c23a7..492cf2f625 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/ExtendedFunctionButton.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/HelperWidgets/ExtendedFunctionButton.qml
@@ -130,8 +130,6 @@ Item {
exportMenuItem.enabled = !backendValue.isAttachedProperty()
}
- onAboutToHide: menuLoader.active = false
-
Controls.MenuItem {
text: qsTr("Reset")
onTriggered: {