Fixed a small bug, and updated config test

This commit is contained in:
Veronica K. B. Olsen
2019-06-01 20:07:29 +02:00
parent 8cf85db94a
commit 504e7fb70f
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -256,7 +256,7 @@ class Config:
return True
def setWinSize(self, newWidth, newHeight):
if abs(self.winGeometry[0] - newHeight) > 5:
if abs(self.winGeometry[0] - newWidth) > 5:
self.winGeometry[0] = newWidth
self.confChanged = True
if abs(self.winGeometry[1] - newHeight) > 5:
@@ -265,7 +265,7 @@ class Config:
return True
def setTLineSize(self, newWidth, newHeight):
if abs(self.dlgTimeLine[0] - newHeight) > 5:
if abs(self.dlgTimeLine[0] - newWidth) > 5:
self.dlgTimeLine[0] = newWidth
self.confChanged = True
if abs(self.dlgTimeLine[1] - newHeight) > 5:
+1
View File
@@ -7,6 +7,7 @@ geometry = 1100, 650
treecols = 120, 30, 50
mainpane = 300, 800
docpane = 400, 400
timeline = 600, 400
[Project]
autosaveproject = 60