/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/labeldialog.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/labeldialog.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/thuban/Thuban/UI/labeldialog.py revision 2700 by dpinte, Mon Sep 18 14:27:02 2006 UTC branches/WIP-pyshapelib-bramz/Thuban/UI/labeldialog.py revision 2755 by dpinte, Thu Apr 12 09:21:58 2007 UTC
# Line 53  class LabelDialog(wx.Dialog): Line 53  class LabelDialog(wx.Dialog):
53      def OnOK(self, event):      def OnOK(self, event):
54          result = self.list.GetValue()          result = self.list.GetValue()
55          if result is not None:          if result is not None:
56              self.end_dialog(wx.ID_OK, str(result))              self.end_dialog(wx.ID_OK, result)
57          else:          else:
58              self.end_dialog(wx.ID_CANCEL, None)              self.end_dialog(wx.ID_CANCEL, None)
59    

Legend:
Removed from v.2700  
changed lines
  Added in v.2755

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26