diff options
author | Jaime van Kessel <nallath@gmail.com> | 2022-05-02 15:49:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 15:49:26 +0300 |
commit | 0d4abf9aa47d11bc324a95d3059283959532e2b8 (patch) | |
tree | f792044d0683be0eeef8bf20ddfd9d181a590c15 /resources/qml | |
parent | 15a480e7a9dc26cd63f1b427af2196a145018812 (diff) | |
parent | 28f609cbe27e5bae063e4a06a6f7fe77cfe6e7c2 (diff) |
Merge pull request #12059 from fieldOfView/fix_phantom_menu
[5.0b1] 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 { } |