Show hidden graphs on ctrl-alt-g

This commit is contained in:
DarkPhoenix
2019-10-28 12:56:34 +03:00
parent 02d31d49d8
commit 79f4deacea
6 changed files with 23 additions and 15 deletions

View File

@@ -53,10 +53,10 @@ class AuxiliaryFrame(wx.Frame):
self.SetBackgroundColour(wx.SystemSettings.GetColour(wx.SYS_COLOUR_BTNFACE))
@classmethod
def openOne(cls, parent):
def openOne(cls, parent, *args, **kwargs):
"""If window is open and alive - raise it, open otherwise"""
if not cls._instance:
frame = cls(parent)
frame = cls(parent, *args, **kwargs)
cls._instance = frame
frame.Show()
else: