Skip to content

Commit

Permalink
Revert "Fixed QML binding loop warning"
Browse files Browse the repository at this point in the history
This reverts commit 51014cb.
  • Loading branch information
jellespijker committed Oct 10, 2023
1 parent 466e703 commit 2e2aa13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion UM/Qt/qml/UM/MenuItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ MenuItem
{
// Middle margin
id: middleSpacer
width: (_shortcut.nativeText != "" || root.subMenu) ? UM.Theme.getSize("default_margin").width : 0
width: visible ? UM.Theme.getSize("default_margin").width : 0
visible: _shortcut.nativeText != "" || root.subMenu
}

UM.Label
Expand Down

0 comments on commit 2e2aa13

Please sign in to comment.