forked from qt-creator/qt-creator
QmlDesigner: Set proper closePolicy for Menu
This is required for macOS. Change-Id: Ib0631583104a46a3828529ac4a64adbe7cbfd774 Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -41,6 +41,9 @@ T.Menu {
|
||||
|
||||
margins: 0
|
||||
overlap: 1
|
||||
|
||||
closePolicy: T.Popup.CloseOnPressOutside | T.Popup.CloseOnPressOutsideParent | T.Popup.CloseOnEscape
|
||||
|
||||
padding: 0
|
||||
|
||||
delegate: MenuItem {
|
||||
|
||||
Reference in New Issue
Block a user