Skip to content

Commit

Permalink
Restore previously fixed warning
Browse files Browse the repository at this point in the history
CURA-11102
  • Loading branch information
wawanbreton committed Oct 26, 2023
1 parent f2055f3 commit ba59468
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions UM/Qt/qml/UM/MenuItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ MenuItem
{
// Middle margin
id: middleSpacer
width: visible ? UM.Theme.getSize("default_margin").width : 0
visible: _shortcut.nativeText != "" || root.subMenu
width: (_shortcut.nativeText != "" || root.subMenu) ? UM.Theme.getSize("default_margin").width : 0
}

UM.Label
Expand Down

0 comments on commit ba59468

Please sign in to comment.