QmlDesigner: Fix ColorDialog popup

Change-Id: I7f8daa6e9b26ae8244de1f7ab7c7db1dfa9b7e52
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
Thomas Hartmann
2022-09-23 14:39:09 +02:00
parent c909e791d6
commit 5b0bb02115
2 changed files with 9 additions and 9 deletions

View File

@@ -288,15 +288,6 @@ SecondColumnLayout {
id: spacer
}
StudioControls.Menu {
id: contextMenu
StudioControls.MenuItem {
text: qsTr("Open Color Dialog")
onTriggered: colorPalette.showColorDialog(colorEditor.color)
}
}
Component.onCompleted: popupLoader.determineActiveColorMode()
onBackendValueChanged: {

View File

@@ -200,6 +200,15 @@ T.Popup {
}
}
StudioControls.Menu {
id: contextMenu
StudioControls.MenuItem {
text: qsTr("Open Color Dialog")
onTriggered: colorPalette.showColorDialog(colorEditor.color)
}
}
GradientModel {
id: gradientModel
anchorBackendProperty: anchorBackend