Fix storing of changed default profile
Review Request #124142 - Created June 21, 2015 and submitted
|Martin Tobias Holmedahl Sandsmark|
If for some reason no profile is loaded, i. e. only the built-in
fallback default values are used, we need to create a new profile to
ensure that changes to the profile are actually persisted.
This has worked more or less by chance for most people so far, because
the default is to load the Shell.profile that is shipped with Konsole.
But if for example the konsolerc config file has an empty value for
DefaultProfile it will load the builtin fallback profile, which can't be
Deleted all profiles, set empty DefaultProfile in konsolerc, change some settings in the profile, close konsole, and restart konsole and see that my changes persist.