This commit is contained in:
Ignacio Serantes
2026-04-12 11:58:32 +02:00
parent 8ade5fde54
commit b253b6d6e7
2 changed files with 12 additions and 6 deletions

View File

@@ -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