Solving bug reported in issue 1341: "PP3 file cleanup" ...application's crash if the default raw or image profile didn't exist
This commit is contained in:
@@ -687,6 +687,9 @@ int ProcParams::write (Glib::ustring &fname, Glib::ustring &content) const {
|
||||
|
||||
int ProcParams::load (Glib::ustring fname, ParamsEdited* pedited) {
|
||||
|
||||
if (fname.empty())
|
||||
return 1;
|
||||
|
||||
SafeKeyFile keyFile;
|
||||
try {
|
||||
//setDefaults ();
|
||||
|
Reference in New Issue
Block a user