Rework how single windows are opened

This commit is contained in:
DarkPhoenix
2019-08-12 01:11:44 +03:00
parent 8a3dc2f3dc
commit 1e35eaf62a
6 changed files with 23 additions and 23 deletions

View File

@@ -140,6 +140,11 @@ class GraphFrame(AuxiliaryFrame):
self.UpdateWindowSize()
self.draw()
@classmethod
def openOne(cls, parent):
if graphFrame_enabled:
super().openOne(parent)
def UpdateWindowSize(self):
curW, curH = self.GetSize()
bestW, bestH = self.GetBestSize()