v0.9.21
This commit is contained in:
@@ -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
|
||||
|
||||
12
settings.py
12
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 ---
|
||||
|
||||
Reference in New Issue
Block a user