Fix code style

CURA-4758
This commit is contained in:
Lipu Fei 2018-01-05 11:54:46 +01:00
parent 223d9b6025
commit 8c98ab027a

View File

@ -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();
@ -196,8 +196,7 @@ Item
{ {
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 = ""