forked from qt-creator/qt-creator
QmlDesigner: Fix extend state menu item
Change-Id: I91be5ddb3020e86c33d4264b4e95918689b69f4e Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
533090fb5e
commit
b9ff06723a
@@ -76,7 +76,7 @@ StudioControls.Menu {
|
||||
|
||||
StudioControls.MenuItem {
|
||||
id: extend
|
||||
visible: !root.isBaseState
|
||||
visible: !root.isBaseState && !root.hasExtend
|
||||
text: qsTr("Extend")
|
||||
height: extend.visible ? extend.implicitHeight : 0
|
||||
onTriggered: root.extend()
|
||||
|
Reference in New Issue
Block a user