mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06: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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue