Fixed a small bug, and updated config test
This commit is contained in:
+2
-2
@@ -256,7 +256,7 @@ class Config:
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def setWinSize(self, newWidth, newHeight):
|
def setWinSize(self, newWidth, newHeight):
|
||||||
if abs(self.winGeometry[0] - newHeight) > 5:
|
if abs(self.winGeometry[0] - newWidth) > 5:
|
||||||
self.winGeometry[0] = newWidth
|
self.winGeometry[0] = newWidth
|
||||||
self.confChanged = True
|
self.confChanged = True
|
||||||
if abs(self.winGeometry[1] - newHeight) > 5:
|
if abs(self.winGeometry[1] - newHeight) > 5:
|
||||||
@@ -265,7 +265,7 @@ class Config:
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def setTLineSize(self, newWidth, newHeight):
|
def setTLineSize(self, newWidth, newHeight):
|
||||||
if abs(self.dlgTimeLine[0] - newHeight) > 5:
|
if abs(self.dlgTimeLine[0] - newWidth) > 5:
|
||||||
self.dlgTimeLine[0] = newWidth
|
self.dlgTimeLine[0] = newWidth
|
||||||
self.confChanged = True
|
self.confChanged = True
|
||||||
if abs(self.dlgTimeLine[1] - newHeight) > 5:
|
if abs(self.dlgTimeLine[1] - newHeight) > 5:
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ geometry = 1100, 650
|
|||||||
treecols = 120, 30, 50
|
treecols = 120, 30, 50
|
||||||
mainpane = 300, 800
|
mainpane = 300, 800
|
||||||
docpane = 400, 400
|
docpane = 400, 400
|
||||||
|
timeline = 600, 400
|
||||||
|
|
||||||
[Project]
|
[Project]
|
||||||
autosaveproject = 60
|
autosaveproject = 60
|
||||||
|
|||||||
Reference in New Issue
Block a user