mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-05 16:51:12 -07:00
Apply suggestions from code review
Co-authored-by: Casper Lamboo <c.lamboo@ultimaker.com> Co-authored-by: Jelle Spijker <j.spijker@ultimaker.com>
This commit is contained in:
parent
e03b4e07f9
commit
1e6184448c
11 changed files with 26 additions and 25 deletions
|
|
@ -137,10 +137,10 @@ Item
|
|||
delegate: Cura.ExtruderButton
|
||||
{
|
||||
extruder: model
|
||||
isTopElement: extrudersModel.getItem(0).id == model.id
|
||||
isBottomElement: extrudersModel.getItem(extrudersModel.rowCount() - 1).id == model.id
|
||||
isTopElement: extrudersModel.getItem(0).id === model.id
|
||||
isBottomElement: extrudersModel.getItem(extrudersModel.rowCount() - 1).id === model.id
|
||||
text: catalog.i18ncp("@label %1 is filled in with the name of an extruder", "Print Selected Model with %1", "Print Selected Models with %1", UM.Selection.selectionCount).arg(extruder.name)
|
||||
checked: Cura.ExtruderManager.selectedObjectExtruders.indexOf(extruder.id) != -1
|
||||
checked: Cura.ExtruderManager.selectedObjectExtruders.indexOf(extruder.id) !== -1
|
||||
enabled: UM.Selection.hasSelection && extruder.stack.isEnabled
|
||||
font: UM.Theme.getFont("small_emphasis")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue