Add an icon for "save all" and only enable the action when it makes sense

This commit is contained in:
Arjen Hiemstra 2015-07-30 17:08:10 +02:00
parent 619e178f0c
commit 3e024e1618

View File

@ -63,6 +63,8 @@ UM.MainWindow {
Menu {
id: saveAllMenu
title: "Save All"
iconName: "document-save";
enabled: devicesModel.count > 0 && UM.Backend.progress > 0.99;
Instantiator {
model: UM.OutputDevicesModel { id: devicesModel; }