Browse Source

Disable recent files if there are no recent files and add an icon

Arjen Hiemstra 9 years ago
parent
commit
619e178f0c
1 changed files with 3 additions and 0 deletions
  1. 3 0
      resources/qml/Cura.qml

+ 3 - 0
resources/qml/Cura.qml

@@ -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