mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 01:58:41 -05:00
Test geometry setting to avoid a TypeError
This commit is contained in:
parent
c38cf92f25
commit
02a92463e5
1 changed files with 2 additions and 1 deletions
|
|
@ -42,6 +42,7 @@ class StartQT5(QMainWindow):
|
|||
QCoreApplication.setOrganizationDomain("trimage.org")
|
||||
QCoreApplication.setApplicationName("Trimage")
|
||||
self.settings = QSettings()
|
||||
if self.settings.value("geometry"):
|
||||
self.restoreGeometry(self.settings.value("geometry"))
|
||||
|
||||
# check if apps are installed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue