diff options
author | fieldOfView <aldo@fieldofview.com> | 2022-05-02 13:17:56 +0300 |
---|---|---|
committer | fieldOfView <aldo@fieldofview.com> | 2022-05-02 13:17:56 +0300 |
commit | 28f609cbe27e5bae063e4a06a6f7fe77cfe6e7c2 (patch) | |
tree | c395152d9ebb81dd8d004a2bd2ecf9a976d4d152 /resources/qml | |
parent | 81a170fb7bd62dcc4ec89e5575f2e785a6936a75 (diff) |
Remove "phantom menu" when there is only a single FileProvider
Diffstat (limited to 'resources/qml')
-rw-r--r-- | resources/qml/Menus/FileMenu.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/qml/Menus/FileMenu.qml b/resources/qml/Menus/FileMenu.qml index 338ada60fc..0884053ef3 100644 --- a/resources/qml/Menus/FileMenu.qml +++ b/resources/qml/Menus/FileMenu.qml @@ -33,6 +33,7 @@ Cura.Menu id: openFilesMenu shouldBeVisible: base.fileProviderModel.count > 1 + enabled: shouldBeVisible } RecentFilesMenu { } |