https://bugs.kde.org/show_bug.cgi?id=414890
--- Comment #5 from Lamarque V. Souza <lamar...@kde.org> --- Git commit 8a0b7cbe060742024aca9169a03cc7d70ad1d71a by Lamarque V. Souza. Committed on 09/01/2020 at 19:51. Pushed by lvsouza into branch 'lvsouza/another_attempt_to_fix_crash_in_debug_mode'. Commit 97c03e0f3314dae5520deb901dda73d1cf8df201 was reverted by ef55574a4af75134a2a9be03fcd70e8b16aaf614 and then the crash happens again. I have tested this change and it does not break PalleteDocker. PS: KIS_ASSERT_RECOVER_RETURN_VALUE trigger an assert and krita fails to start up. KisPaletteModel::index works if I use KIS_SAFE_ASSERT_RECOVER_RETURN_VALUE and change KoColorSet::getGroup to return null pointer when its name parameter is an empty string, but KisSwatchGroup::rowCount crashes, so I think it is simpler to return an default QModelIndex as soon as possible in KisPaletteModel::index M +3 -0 libs/widgets/KisPaletteModel.cpp https://invent.kde.org/kde/krita/commit/8a0b7cbe060742024aca9169a03cc7d70ad1d71a -- You are receiving this mail because: You are watching all bug changes.