Fixed error when opening two plugin status windows

svn: r13502
This commit is contained in:
Nick Hall 2009-11-05 16:52:51 +00:00
parent 7cc523ac4e
commit ba9e469215

View File

@ -723,10 +723,7 @@ class ViewManager(object):
try:
PluginWindows.PluginStatus(self.uistate, [])
except Errors.WindowActiveError:
old_win = self.uistate.gwm.get_item_from_id(
PluginWindows.PluginStatus)
old_win.close()
PluginWindows.PluginStatus(self.uistate, [])
pass
def sidebar_toggle(self, obj):
"""