Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfieldOfView <aldo@fieldofview.com>2022-05-02 13:17:56 +0300
committerfieldOfView <aldo@fieldofview.com>2022-05-02 13:17:56 +0300
commit28f609cbe27e5bae063e4a06a6f7fe77cfe6e7c2 (patch)
treec395152d9ebb81dd8d004a2bd2ecf9a976d4d152
parent81a170fb7bd62dcc4ec89e5575f2e785a6936a75 (diff)
Remove "phantom menu" when there is only a single FileProvider
-rw-r--r--resources/qml/Menus/FileMenu.qml1
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 { }