diff --git a/gui/dialogs.py b/gui/dialogs.py index 1cf5062..4130875 100644 --- a/gui/dialogs.py +++ b/gui/dialogs.py @@ -544,6 +544,7 @@ def create_connections(self): self.pushButton_advanced.clicked.connect(self.define_options) self.pushButton_left.clicked.connect(lambda: self.update_img_to_preview('minus')) self.pushButton_right.clicked.connect(lambda: self.update_img_to_preview('plus')) + # Dropdowns self.comboBox.currentIndexChanged.connect(self.update_img_preview) self.comboBox_colors_low.currentIndexChanged.connect(self.update_img_preview) diff --git a/gui/thermalmesh.py b/gui/thermalmesh.py index a4b16cc..8261dcc 100644 --- a/gui/thermalmesh.py +++ b/gui/thermalmesh.py @@ -133,7 +133,7 @@ def __init__(self, parent=None): settings_dir = platformdirs.user_config_dir('IRMapper') print(f"User config files should be stored in {platformdirs.user_config_dir('IRMapper')}") if not os.path.exists(settings_dir): - os.mkdir(settings_dir) + os.makedirs(settings_dir) self.license_loc = os.path.join(settings_dir, 'license_location.txt') # TODO : use settings.json