[kphotoalbum] [Bug 477531] KPhotoAlbum git master crashes when a new Category is added, deleted and then added again in Settings

2023-12-03 Thread Victor Lobo
https://bugs.kde.org/show_bug.cgi?id=477531

Victor Lobo  changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED

--- Comment #2 from Victor Lobo  ---
This woks well now. Thank you!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kphotoalbum] [Bug 477531] KPhotoAlbum git master crashes when a new Category is added, deleted and then added again in Settings

2023-11-28 Thread Johannes Zarl-Zierl
https://bugs.kde.org/show_bug.cgi?id=477531

Johannes Zarl-Zierl  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/grap
   ||hics/kphotoalbum/-/commit/4
   ||60b2c505abaa51efac0f77811ec
   ||61f627ee6e31
 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED

--- Comment #1 from Johannes Zarl-Zierl  ---
Git commit 460b2c505abaa51efac0f77811ec61f627ee6e31 by Johannes Zarl-Zierl.
Committed on 28/11/2023 at 23:17.
Pushed by johanneszarl into branch 'master'.

Fix crash when deleting a category and doing a second category action.

After deleting a category via the Settings::CategoryPage, the deleted
category would remain in the list of categories to delete.
If one then opened the category page again and chose "OK" or "Apply",
KPhotoAlbum would try to remove the already removed category again,
triggering an assertion.

M  +3-0DB/CategoryCollection.cpp
M  +3-6Settings/CategoryPage.cpp

https://invent.kde.org/graphics/kphotoalbum/-/commit/460b2c505abaa51efac0f77811ec61f627ee6e31

-- 
You are receiving this mail because:
You are watching all bug changes.