merge 'options-save-raise-exception-on-failure' into 'dev'
This commit is contained in:
@@ -2103,7 +2103,14 @@ void Preferences::okPressed ()
|
||||
workflowUpdate();
|
||||
options.copyFrom (&moptions);
|
||||
options.filterOutParsedExtensions();
|
||||
Options::save ();
|
||||
|
||||
try {
|
||||
Options::save ();
|
||||
} catch (Options::Error &e) {
|
||||
Gtk::MessageDialog msgd (getToplevelWindow (this), e.get_msg(), true, Gtk::MESSAGE_WARNING, Gtk::BUTTONS_CLOSE, true);
|
||||
msgd.run();
|
||||
}
|
||||
|
||||
dynProfilePanel->save();
|
||||
hide ();
|
||||
}
|
||||
|
Reference in New Issue
Block a user