Fixed error when opening two plugin status windows

svn: r13501
This commit is contained in:
Nick Hall 2009-11-05 16:49:35 +00:00
parent aee3e932e1
commit f697451301

View File

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