forked from qt-creator/qt-creator
QmlDesigner: Fix crash
ToFront/ToBack is not always available. Task-number: QDS-3167 Change-Id: Idfd4049e28505d4d87cb724c5efc46209e3be3aa Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -925,7 +925,7 @@ void DesignerActionManager::createDefaultDesignerActions()
|
|||||||
QKeySequence(),
|
QKeySequence(),
|
||||||
200,
|
200,
|
||||||
&toFront,
|
&toFront,
|
||||||
&singleSelection));
|
&raiseAvailable));
|
||||||
|
|
||||||
addDesignerAction(new ModelNodeContextMenuAction(
|
addDesignerAction(new ModelNodeContextMenuAction(
|
||||||
raiseCommandId,
|
raiseCommandId,
|
||||||
@@ -955,7 +955,7 @@ void DesignerActionManager::createDefaultDesignerActions()
|
|||||||
QKeySequence(),
|
QKeySequence(),
|
||||||
140,
|
140,
|
||||||
&toBack,
|
&toBack,
|
||||||
&singleSelection));
|
&lowerAvailable));
|
||||||
|
|
||||||
addDesignerAction(new ModelNodeContextMenuAction(
|
addDesignerAction(new ModelNodeContextMenuAction(
|
||||||
reverseCommandId,
|
reverseCommandId,
|
||||||
|
Reference in New Issue
Block a user