mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-29 05:41:05 -07:00
Fix code style
CURA-4758
This commit is contained in:
parent
223d9b6025
commit
8c98ab027a
1 changed files with 5 additions and 6 deletions
|
|
@ -11,7 +11,7 @@ import Cura 1.2 as Cura
|
||||||
|
|
||||||
Item
|
Item
|
||||||
{
|
{
|
||||||
id: base;
|
id: base
|
||||||
|
|
||||||
signal showTooltip(Item item, point location, string text);
|
signal showTooltip(Item item, point location, string text);
|
||||||
signal hideTooltip();
|
signal hideTooltip();
|
||||||
|
|
@ -115,7 +115,7 @@ Item
|
||||||
if (Cura.SimpleModeSettingsManager.isProfileUserCreated) {
|
if (Cura.SimpleModeSettingsManager.isProfileUserCreated) {
|
||||||
qualityModel.qualitySliderActiveIndex = -1
|
qualityModel.qualitySliderActiveIndex = -1
|
||||||
} else {
|
} else {
|
||||||
qualityModel.qualitySliderActiveIndex = i
|
qualityModel.qualitySliderActiveIndex = i
|
||||||
}
|
}
|
||||||
|
|
||||||
qualityModel.existingQualityProfile = 1
|
qualityModel.existingQualityProfile = 1
|
||||||
|
|
@ -195,11 +195,10 @@ Item
|
||||||
text:
|
text:
|
||||||
{
|
{
|
||||||
var result = ""
|
var result = ""
|
||||||
if(Cura.MachineManager.activeMachine != null){
|
if (Cura.MachineManager.activeMachine != null) {
|
||||||
|
result = Cura.ProfilesModel.getItem(index).layer_height_without_unit
|
||||||
|
|
||||||
var result = Cura.ProfilesModel.getItem(index).layer_height_without_unit
|
if (result == undefined)
|
||||||
|
|
||||||
if(result == undefined)
|
|
||||||
result = ""
|
result = ""
|
||||||
}
|
}
|
||||||
return result
|
return result
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue