dialogs/ForceVariableDialog.py
changeset 732 7991eb6bcb5a
parent 714 131ea7f237b9
child 747 f36838792511
equal deleted inserted replaced
731:4e30c1c0922d 732:7991eb6bcb5a
   169             dialog = wx.MessageDialog(self, message, _("Error"), wx.OK|wx.ICON_ERROR)
   169             dialog = wx.MessageDialog(self, message, _("Error"), wx.OK|wx.ICON_ERROR)
   170             dialog.ShowModal()
   170             dialog.ShowModal()
   171             dialog.Destroy()
   171             dialog.Destroy()
   172         else:
   172         else:
   173             self.EndModal(wx.ID_OK)
   173             self.EndModal(wx.ID_OK)
       
   174         event.Skip()
   174 
   175 
   175     def GetValue(self):
   176     def GetValue(self):
   176         return GetTypeValue[self.IEC_Type](wx.TextEntryDialog.GetValue(self))
   177         return GetTypeValue[self.IEC_Type](wx.TextEntryDialog.GetValue(self))