mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-10-10 07:17:52 -06:00
Use rowCount() not count for getting devicesModel's row count
This commit is contained in:
parent
5e3d492aba
commit
7161ed63aa
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ UM.MainWindow {
|
|||
id: saveAllMenu
|
||||
title: "Save All"
|
||||
iconName: "document-save";
|
||||
enabled: devicesModel.count > 0 && UM.Backend.progress > 0.99;
|
||||
enabled: devicesModel.rowCount() > 0 && UM.Backend.progress > 0.99;
|
||||
|
||||
Instantiator {
|
||||
model: UM.OutputDevicesModel { id: devicesModel; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue