forked from qt-creator/qt-creator
QmlDesigner: Fix ColorEditor closing
Fix ColorEditorPopup closing when opening gradient dialog. Pick-to: qds/4.5 Change-Id: I438bd41d2efff30b372c04bc17c85210811cd0ff Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
924019e8c2
commit
c29f514543
@@ -246,6 +246,7 @@ SecondColumnLayout {
|
|||||||
supportGradient: colorEditor.supportGradient
|
supportGradient: colorEditor.supportGradient
|
||||||
width: popupDialog.contentWidth
|
width: popupDialog.contentWidth
|
||||||
visible: popupDialog.visible
|
visible: popupDialog.visible
|
||||||
|
parentWindow: popupDialog.window
|
||||||
}
|
}
|
||||||
|
|
||||||
onLoaded: {
|
onLoaded: {
|
||||||
|
@@ -33,6 +33,8 @@ Column {
|
|||||||
|
|
||||||
property alias gradientModel: gradientModel
|
property alias gradientModel: gradientModel
|
||||||
|
|
||||||
|
property Window parentWindow: null
|
||||||
|
|
||||||
property bool isInValidState: false
|
property bool isInValidState: false
|
||||||
|
|
||||||
readonly property real twoColumnWidth: (colorColumn.width - StudioTheme.Values.controlGap) * 0.5
|
readonly property real twoColumnWidth: (colorColumn.width - StudioTheme.Values.controlGap) * 0.5
|
||||||
|
Reference in New Issue
Block a user