Fix implant set clipboard import (#1237)

This commit is contained in:
blitzmann
2017-07-10 00:28:22 -04:00
parent f70d671f1d
commit 1202c335d9

View File

@@ -197,7 +197,6 @@ class ImplantSetEditorDlg(wx.Dialog):
try:
sIS.importSets(text)
self.stNotice.SetLabel("Patterns successfully imported from clipboard")
self.showInput(False)
except ImportError as e:
pyfalog.error(e)
self.stNotice.SetLabel(str(e))
@@ -205,7 +204,7 @@ class ImplantSetEditorDlg(wx.Dialog):
pyfalog.error(e)
self.stNotice.SetLabel("Could not import from clipboard: unknown errors")
finally:
self.updateChoices()
self.entityEditor.refreshEntityList()
else:
self.stNotice.SetLabel("Could not import from clipboard")