Permalink
Browse files

fix type error in speceditor when adding/removing props

  • Loading branch information...
1 parent e2ec5ac commit ff2c8c8e848063239f6ce5359bb71a26740d3d94 @cfinucane cfinucane committed Apr 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/specEditor.py
View
@@ -480,9 +480,9 @@ def onPropToggle(self, event):
caller = event.GetEventObject()
if caller is self.list_box_sensors:
- self.proj.enabled_sensors = self.list_box_sensors.GetCheckedStrings()
+ self.proj.enabled_sensors = list(self.list_box_sensors.GetCheckedStrings())
elif caller is self.list_box_actions:
- self.proj.enabled_actuators = self.list_box_actions.GetCheckedStrings()
+ self.proj.enabled_actuators = list(self.list_box_actions.GetCheckedStrings())
self.dirty = True

0 comments on commit ff2c8c8

Please sign in to comment.