Fix storing of changed default profile

Review Request #124142 - Created June 21, 2015 and submitted

Information
Martin Tobias Holmedahl Sandsmark
konsole
master
303356
Reviewers
konsole
hindenburg

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
saved.

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.

Sebastian Kügler
Martin Tobias Holmedahl Sandsmark
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 4ec5d3092d6cbda5ccfb838e2ef71f6d650b5ac4 by Martin T. H. Sandsmark to branch master.
Loading...