Diffusion Krita 1a76a971ae46

Fix PaletteDocker not showing palettes

Authored by vanyossi on Dec 19 2019, 6:59 AM.

Description

Fix PaletteDocker not showing palettes

Reverts 97c03e0f3314dae5520deb901dda73d1cf8df201

"-1" is a QMap key to signal "root group"

Changed Q_ASSERT to KIS_ASSERT_RECOVER_RETURN_VALUE to
try and avoid crashing if Qt is compiled in debug mode.

BUG:414890