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

This commit is contained in:
Arjen Hiemstra 2015-07-30 17:07:46 +02:00
parent db59954521
commit 619e178f0c

View file

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