def showDamagePatternEditor(self, event): dlg = DmgPatternEditorDlg(self) dlg.ShowModal() try: dlg.Destroy() except RuntimeError: pyfalog.error("Tried to destroy an object that doesn't exist in <showDamagePatternEditor>.")
def showDamagePatternEditor(self, event): dlg = DmgPatternEditorDlg(self) dlg.ShowModal() dlg.Destroy()