Change spelling of "colour" to "color" for consistency

I know "colour" is the more correct spelling, but Qt uses the spelling "color" and we have already adopted that spelling in a number of places.

CURA-333
This commit is contained in:
fieldOfView 2016-06-21 18:49:27 +02:00
parent f5bdc0295c
commit 963a2092ef
6 changed files with 16 additions and 16 deletions

View file

@ -63,7 +63,7 @@ class SolidView(View):
if extruder_id:
extruder_index = self._extruders_model.find("id", extruder_id)
if extruder_index:
extruder_color = self._extruders_model.getItem(extruder_index)["colour"]
extruder_color = self._extruders_model.getItem(extruder_index)["color"]
try:
# Colors are passed as rgb hex strings (eg "#ffffff"), and the shader needs