v0.9.24
This commit is contained in:
@@ -345,7 +345,7 @@ class ImageController(QObject):
|
||||
|
||||
faces_to_save.append(face_copy)
|
||||
|
||||
XmpManager.save_faces(path, faces_to_save)
|
||||
return XmpManager.save_faces(path, faces_to_save)
|
||||
|
||||
def add_face(self, name, x, y, w, h, region_type="Face"):
|
||||
"""Adds a new face. The full tag path should be passed as 'name'."""
|
||||
@@ -390,8 +390,8 @@ class ImageController(QObject):
|
||||
self.metadata_changed.emit(current_path,
|
||||
{'tags': new_tags_list,
|
||||
'rating': self._current_rating})
|
||||
except IOError as e:
|
||||
print(f"Error setting tags for {current_path}: {e}")
|
||||
except Exception:
|
||||
raise
|
||||
|
||||
def set_rating(self, new_rating):
|
||||
current_path = self.get_current_path()
|
||||
|
||||
Reference in New Issue
Block a user