From b87e7f1ffa4d842293c1654e79446b6a200e990f Mon Sep 17 00:00:00 2001 From: wendtalexander Date: Wed, 16 Oct 2024 08:52:27 +0200 Subject: [PATCH] [app] adding config --- pyrelacs/app.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyrelacs/app.py b/pyrelacs/app.py index 1d42353..b297bf0 100644 --- a/pyrelacs/app.py +++ b/pyrelacs/app.py @@ -2,9 +2,10 @@ import sys from PyQt6.QtCore import QSettings from PyQt6.QtWidgets import QApplication +from IPython import embed from pyrelacs import info -from pyrelacs.config.config_loader import Config +from pyrelacs.config.config_loader import load_config from pyrelacs.ui.mainwindow import PyRelacs from pyrelacs import ( @@ -28,10 +29,9 @@ def main(): # load the config - config = Config() - + config = load_config() # start the app - window = PyRelacs() + window = PyRelacs(config) window.setMinimumWidth(200) window.setMinimumHeight(200) window.resize(width, height)