Fixing color picker not working
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3da51430f1
commit
d6dee6a2be
1 changed files with 2 additions and 2 deletions
|
@ -199,9 +199,9 @@ Item {
|
||||||
title: qsTr("Pick new color for %1 %2").arg(obj.constructor.displayType()).arg(obj.name)
|
title: qsTr("Pick new color for %1 %2").arg(obj.constructor.displayType()).arg(obj.name)
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
history.addToHistory(new HistoryLib.ColorChanged(
|
history.addToHistory(new HistoryLib.ColorChanged(
|
||||||
obj.name, obj.type, obj.color, color.toString()
|
obj.name, obj.type, obj.color, selectedColor.toString()
|
||||||
))
|
))
|
||||||
obj.color = color.toString()
|
obj.color = selectedColor.toString()
|
||||||
changed()
|
changed()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue