Changed dmgpattern editor to modal dialog

This commit is contained in:
HomeWorld
2010-10-09 20:09:34 +03:00
parent 71c0ed4b93
commit 8fc7ab895b
2 changed files with 5 additions and 2 deletions

View File

@@ -17,4 +17,6 @@ class DamagePattern(ContextMenu):
def activate(self, context, selection, i):
dlg=DmgPatternEditorDlg(self.mainFrame)
dlg.ShowModal()
dlg.Destroy()
DamagePattern.register()