mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Fixed all codestyle and nitpicks from review
This commit is contained in:
parent
e465bd771a
commit
3c10cca0de
7 changed files with 39 additions and 38 deletions
|
@ -29,11 +29,16 @@ Cura.ExpandablePopup
|
|||
text: isNetworkPrinter ? Cura.MachineManager.activeMachineNetworkGroupName : Cura.MachineManager.activeMachineName
|
||||
source:
|
||||
{
|
||||
if (isGroup) {
|
||||
if (isGroup)
|
||||
{
|
||||
return UM.Theme.getIcon("printer_group")
|
||||
} else if (isNetworkPrinter || isCloudPrinter) {
|
||||
}
|
||||
else if (isNetworkPrinter || isCloudPrinter)
|
||||
{
|
||||
return UM.Theme.getIcon("printer_single")
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
return ""
|
||||
}
|
||||
}
|
||||
|
@ -52,11 +57,16 @@ Cura.ExpandablePopup
|
|||
|
||||
source:
|
||||
{
|
||||
if (isNetworkPrinter) {
|
||||
if (isNetworkPrinter)
|
||||
{
|
||||
return UM.Theme.getIcon("printer_connected")
|
||||
} else if (isCloudPrinter) {
|
||||
}
|
||||
else if (isCloudPrinter)
|
||||
{
|
||||
return UM.Theme.getIcon("printer_cloud_connected")
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
return ""
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue