Browse Source

Hide hamburger menu if no item is selected

CURA-8982
Jaime van Kessel 3 years ago
parent
commit
950fc6f3da
1 changed files with 2 additions and 1 deletions
  1. 2 1
      resources/qml/Preferences/ProfilesPage.qml

+ 2 - 1
resources/qml/Preferences/ProfilesPage.qml

@@ -21,8 +21,9 @@ UM.ManagementPage
 
     onHamburgeButtonClicked: menu.popup(content_item, content_item.width - menu.width, hamburger_button.height)
 
+    property bool hasCurrentItem: base.currentItem != null
+    hamburgerButtonVisible: hasCurrentItem
 
-    property var hasCurrentItem: base.currentItem != null
     sectionRole: "section_name"
 
     property var currentItem: