mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 07:15:03 -06:00
Disable recent files if there are no recent files and add an icon
This commit is contained in:
parent
db59954521
commit
619e178f0c
1 changed files with 3 additions and 0 deletions
|
@ -34,6 +34,9 @@ UM.MainWindow {
|
|||
Menu {
|
||||
id: recentFilesMenu;
|
||||
title: "Open Recent"
|
||||
iconName: "document-open-recent";
|
||||
|
||||
enabled: Printer.recentFiles.length > 0;
|
||||
|
||||
Instantiator {
|
||||
model: Printer.recentFiles
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue