Summary: | KPhotoAlbum git master crashes when a new Category is added, deleted and then added again in Settings | ||
---|---|---|---|
Product: | [Applications] kphotoalbum | Reporter: | Victor Lobo <victor.ip.lobo> |
Component: | general | Assignee: | KPhotoAlbum Bugs <kpabugs> |
Status: | VERIFIED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | GIT master | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/kphotoalbum/-/commit/460b2c505abaa51efac0f77811ec61f627ee6e31 | Version Fixed In: | |
Sentry Crash Report: |
Description
Victor Lobo
2023-11-25 23:54:13 UTC
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 -0 DB/CategoryCollection.cpp M +3 -6 Settings/CategoryPage.cpp https://invent.kde.org/graphics/kphotoalbum/-/commit/460b2c505abaa51efac0f77811ec61f627ee6e31 This woks well now. Thank you! |