From 69f4c73764e1e2debc185587e62c26b0ccb6520b Mon Sep 17 00:00:00 2001 From: isen Date: Thu, 08 Oct 2009 01:49:24 +0000 Subject: 426452 OK. works only with a list of tail position. --- (limited to 'tutorius/creator.py') diff --git a/tutorius/creator.py b/tutorius/creator.py index 7455ecb..7463fa3 100644 --- a/tutorius/creator.py +++ b/tutorius/creator.py @@ -395,7 +395,7 @@ class EditToolBox(gtk.Window): def _list_prop_changed(self, widget, evt, action, propname, idx): try: - getattr(action, propname)[idx] = int(widget.get_text()) + getattr(action, propname)[idx] = eval(widget.get_text()) except ValueError: widget.set_text(str(getattr(action, propname)[idx])) self.__parent._creator._action_refresh_cb(None, None, action) -- cgit v0.9.1