From b253b6d6e7b55888ccc3f927381e2574f168d07e Mon Sep 17 00:00:00 2001 From: Ignacio Serantes Date: Sun, 12 Apr 2026 11:58:32 +0200 Subject: [PATCH] v0.9.21 --- imageviewer.py | 6 ++++-- settings.py | 12 ++++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/imageviewer.py b/imageviewer.py index 808ae57..a3fa876 100644 --- a/imageviewer.py +++ b/imageviewer.py @@ -3180,7 +3180,8 @@ class ImageViewer(QWidget): suggested = history[0] if history and APP_CONFIG.get( "pet_use_last_name", False) else "" full_tag, updated_history, ok = FaceNameDialog.get_name( - self, history, current_name=suggested, main_win=self.main_win, region_type="Pet") + self, history, current_name=suggested, main_win=self.main_win, + region_type="Pet") if ok and full_tag: new_pet['name'] = full_tag @@ -3240,7 +3241,8 @@ class ImageViewer(QWidget): suggested = history[0] if history and APP_CONFIG.get( "body_use_last_name", False) else "" full_tag, updated_history, ok = FaceNameDialog.get_name( - self, history, current_name=suggested, main_win=self.main_win, region_type="Body") + self, history, current_name=suggested, main_win=self.main_win, + region_type="Body") if ok and full_tag: new_body['name'] = full_tag diff --git a/settings.py b/settings.py index ffab8e3..57f94d7 100644 --- a/settings.py +++ b/settings.py @@ -775,8 +775,10 @@ class SettingsDialog(QDialog): self.object_history_spin.setToolTip(UITexts.SETTINGS_OBJECT_HISTORY_TOOLTIP) faces_layout.addLayout(object_history_layout) - self.object_use_last_name_check = QCheckBox(UITexts.SETTINGS_USE_LAST_NAME_LABEL) - self.object_use_last_name_check.setToolTip(UITexts.SETTINGS_USE_LAST_NAME_TOOLTIP) + self.object_use_last_name_check = QCheckBox( + UITexts.SETTINGS_USE_LAST_NAME_LABEL) + self.object_use_last_name_check.setToolTip( + UITexts.SETTINGS_USE_LAST_NAME_TOOLTIP) faces_layout.addWidget(self.object_use_last_name_check) # --- Landmark Section --- @@ -826,8 +828,10 @@ class SettingsDialog(QDialog): faces_layout.addLayout(landmark_history_layout) faces_layout.addStretch() - self.landmark_use_last_name_check = QCheckBox(UITexts.SETTINGS_USE_LAST_NAME_LABEL) - self.landmark_use_last_name_check.setToolTip(UITexts.SETTINGS_USE_LAST_NAME_TOOLTIP) + self.landmark_use_last_name_check = QCheckBox( + UITexts.SETTINGS_USE_LAST_NAME_LABEL) + self.landmark_use_last_name_check.setToolTip( + UITexts.SETTINGS_USE_LAST_NAME_TOOLTIP) faces_layout.addWidget(self.landmark_use_last_name_check) # --- Viewer Tab ---