def OnButtonSave(self, msg):
if not self.model.status:
wx.MessageBox('No export file has been successfully loaded yet!')
return
ret = wx.MessageBox('Overwrite the original file?', 'Attention!',
wx.YES_NO | wx.ICON_QUESTION)
if ret == wx.YES:
self.model.save(self.fileread.path)
评论列表
文章目录