mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 16:19:05 +08:00
Disable recent files if there are no recent files and add an icon
This commit is contained in:
parent
db59954521
commit
619e178f0c
@ -34,6 +34,9 @@ UM.MainWindow {
|
|||||||
Menu {
|
Menu {
|
||||||
id: recentFilesMenu;
|
id: recentFilesMenu;
|
||||||
title: "Open Recent"
|
title: "Open Recent"
|
||||||
|
iconName: "document-open-recent";
|
||||||
|
|
||||||
|
enabled: Printer.recentFiles.length > 0;
|
||||||
|
|
||||||
Instantiator {
|
Instantiator {
|
||||||
model: Printer.recentFiles
|
model: Printer.recentFiles
|
||||||
|
Loading…
x
Reference in New Issue
Block a user