Browse Source

Remove "phantom menu" when there is only a single FileProvider

fieldOfView 2 years ago
parent
commit
28f609cbe2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      resources/qml/Menus/FileMenu.qml

+ 1 - 0
resources/qml/Menus/FileMenu.qml

@@ -33,6 +33,7 @@ Cura.Menu
         id: openFilesMenu
 
         shouldBeVisible: base.fileProviderModel.count > 1
+        enabled: shouldBeVisible
     }
 
     RecentFilesMenu { }