Change unsafe assert into an if statement
The values can come from the config file, and if the config file gets corrupted, this will make it impossible to start Krita. BUG:449983
Loading
The values can come from the config file, and if the config file gets corrupted, this will make it impossible to start Krita. BUG:449983
mentioned in commit 907120b9