mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-17 03:37:48 -06:00
Remove "phantom menu" when there is only a single FileProvider
This commit is contained in:
parent
81a170fb7b
commit
28f609cbe2
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ Cura.Menu
|
||||||
id: openFilesMenu
|
id: openFilesMenu
|
||||||
|
|
||||||
shouldBeVisible: base.fileProviderModel.count > 1
|
shouldBeVisible: base.fileProviderModel.count > 1
|
||||||
|
enabled: shouldBeVisible
|
||||||
}
|
}
|
||||||
|
|
||||||
RecentFilesMenu { }
|
RecentFilesMenu { }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue