Mercurial > traipse_dev
diff orpg/mapper/map_prop_dialog.py @ 71:449a8900f9ac ornery-dev
Code refining almost completed, for this round. Some included files are still in need of some clean up, but this is test worthy.
author | sirebral |
---|---|
date | Thu, 20 Aug 2009 03:00:39 -0500 |
parents | 072ffc1d466f |
children | dcae32e219f1 |
line wrap: on
line diff
--- a/orpg/mapper/map_prop_dialog.py Tue Aug 18 20:48:36 2009 -0500 +++ b/orpg/mapper/map_prop_dialog.py Thu Aug 20 03:00:39 2009 -0500 @@ -201,6 +201,7 @@ data = dlg.GetColourData() self.ctrls[CTRL_GRID_COLOR].SetBackgroundColour(data.GetColour()) dlg.Destroy() + def on_ok(self,evt): try: self.size = (int(self.ctrls[CTRL_WIDTH].GetValue()),int(self.ctrls[CTRL_HEIGHT].GetValue())) except: pass