mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 15:29:00 +08:00
Remove "phantom menu" when there is only a single FileProvider
This commit is contained in:
parent
81a170fb7b
commit
28f609cbe2
@ -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…
x
Reference in New Issue
Block a user