forked from qt-creator/qt-creator
QmlDesigner: Fix ColorDialog popup
Change-Id: I7f8daa6e9b26ae8244de1f7ab7c7db1dfa9b7e52 Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
@@ -288,15 +288,6 @@ SecondColumnLayout {
|
|||||||
id: spacer
|
id: spacer
|
||||||
}
|
}
|
||||||
|
|
||||||
StudioControls.Menu {
|
|
||||||
id: contextMenu
|
|
||||||
|
|
||||||
StudioControls.MenuItem {
|
|
||||||
text: qsTr("Open Color Dialog")
|
|
||||||
onTriggered: colorPalette.showColorDialog(colorEditor.color)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Component.onCompleted: popupLoader.determineActiveColorMode()
|
Component.onCompleted: popupLoader.determineActiveColorMode()
|
||||||
|
|
||||||
onBackendValueChanged: {
|
onBackendValueChanged: {
|
||||||
|
@@ -200,6 +200,15 @@ T.Popup {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
StudioControls.Menu {
|
||||||
|
id: contextMenu
|
||||||
|
|
||||||
|
StudioControls.MenuItem {
|
||||||
|
text: qsTr("Open Color Dialog")
|
||||||
|
onTriggered: colorPalette.showColorDialog(colorEditor.color)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
GradientModel {
|
GradientModel {
|
||||||
id: gradientModel
|
id: gradientModel
|
||||||
anchorBackendProperty: anchorBackend
|
anchorBackendProperty: anchorBackend
|
||||||
|
Reference in New Issue
Block a user