Browse Source

Make the menu separator only show if there are quality changes profiles

Diego Prado Gesto 7 years ago
parent
commit
b7093e8b57
1 changed files with 5 additions and 1 deletions
  1. 5 1
      resources/qml/Menus/ProfileMenu.qml

+ 5 - 1
resources/qml/Menus/ProfileMenu.qml

@@ -29,7 +29,11 @@ Menu
         onObjectRemoved: menu.removeItem(object);
         onObjectRemoved: menu.removeItem(object);
     }
     }
 
 
-    MenuSeparator { id: customSeparator }
+    MenuSeparator
+    {
+        id: customSeparator
+        visible: Cura.UserProfilesModel.rowCount > 0
+    }
 
 
     Instantiator
     Instantiator
     {
     {