From 9b3a88848fbc2ec7213509af6485ffa39fe3145e Mon Sep 17 00:00:00 2001 From: Leata Byers Date: Tue, 29 Oct 2024 09:51:42 -0600 Subject: [PATCH] properly pass settings and default use in get configs when config file does not exist --- gui/common_qt_functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/common_qt_functions.py b/gui/common_qt_functions.py index 383aa7448..d9230d86f 100644 --- a/gui/common_qt_functions.py +++ b/gui/common_qt_functions.py @@ -248,10 +248,10 @@ def getConfigs(self,settings,useDefault=False): configs = yaml.safe_load(file) if configs is None: # The configs file exists, but is empty, use default settings - configs = self.getConfigs(True) + configs = self.getConfigs(settings,True) except: # Could not open or config file does not exist, use default settings - configs = self.getConfigs(True) + configs = self.getConfigs(settings,True) return configs