Merge remote-tracking branch 'origin/master' into softproofing
This commit is contained in:
@@ -736,8 +736,6 @@ int Options::readFromFile (Glib::ustring fname)
|
||||
try {
|
||||
if (keyFile.load_from_file (fname)) {
|
||||
|
||||
setDefaults ();
|
||||
|
||||
// --------------------------------------------------------------------------------------------------------
|
||||
|
||||
if (keyFile.has_group ("General")) {
|
||||
@@ -1791,14 +1789,10 @@ int Options::readFromFile (Glib::ustring fname)
|
||||
if (options.rtSettings.verbose) {
|
||||
printf("Options::readFromFile / Error code %d while reading values from \"%s\":\n%s\n", err.code(), fname.c_str(), err.what().c_str());
|
||||
}
|
||||
|
||||
setDefaults ();
|
||||
} catch (...) {
|
||||
if (options.rtSettings.verbose) {
|
||||
printf("Options::readFromFile / Unknown exception while trying to load \"%s\"!\n", fname.c_str());
|
||||
}
|
||||
|
||||
setDefaults ();
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user