forked from qt-creator/qt-creator
QmlDesigner: Fix ColorEditor closing
Fix ColorEditorPopup closing when opening gradient dialog.
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>
(cherry picked from commit c29f514543
)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
committed by
Henning Gründl
parent
be376f043c
commit
97bab8fa6a
@@ -246,6 +246,7 @@ SecondColumnLayout {
|
||||
supportGradient: colorEditor.supportGradient
|
||||
width: popupDialog.contentWidth
|
||||
visible: popupDialog.visible
|
||||
parentWindow: popupDialog.window
|
||||
}
|
||||
|
||||
onLoaded: {
|
||||
|
@@ -33,6 +33,8 @@ Column {
|
||||
|
||||
property alias gradientModel: gradientModel
|
||||
|
||||
property Window parentWindow: null
|
||||
|
||||
property bool isInValidState: false
|
||||
|
||||
readonly property real twoColumnWidth: (colorColumn.width - StudioTheme.Values.controlGap) * 0.5
|
||||
|
Reference in New Issue
Block a user