Add a safe assert to prevent Krita from crashing when a toolbar gets accidentally enabled
How to make sure the toolbar stays disabled when it's edited is
a more difficult problem, but at least now Krita only triggers
a safe assert return, which means that there is no user-visible
crash.
CCBUG:402679