Add a new file menu option when there are multiple file providers

CURA-7868
This commit is contained in:
Kostas Karmas 2020-12-15 18:31:15 +01:00
parent b49d5ab9e9
commit 430550452f
2 changed files with 50 additions and 0 deletions

View file

@ -22,6 +22,11 @@ Menu
{
id: openMenu
action: Cura.Actions.open
visible: CuraApplication.fileProviders.length > 0 // DEBUG: It's > 0 so that both options are visible for debugging purposes
}
OpenFilesMenu {
visible: CuraApplication.fileProviders.length > 0 // DEBUG: It's > 0 so that both options are visible for debugging purposes
}
RecentFilesMenu { }