mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-19 17:19:07 +08:00
Add an icon for "save all" and only enable the action when it makes sense
This commit is contained in:
parent
619e178f0c
commit
3e024e1618
@ -63,6 +63,8 @@ UM.MainWindow {
|
|||||||
Menu {
|
Menu {
|
||||||
id: saveAllMenu
|
id: saveAllMenu
|
||||||
title: "Save All"
|
title: "Save All"
|
||||||
|
iconName: "document-save";
|
||||||
|
enabled: devicesModel.count > 0 && UM.Backend.progress > 0.99;
|
||||||
|
|
||||||
Instantiator {
|
Instantiator {
|
||||||
model: UM.OutputDevicesModel { id: devicesModel; }
|
model: UM.OutputDevicesModel { id: devicesModel; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user