The preferences are now saved when clicking the OK button of the Pref window

This commit is contained in:
Hombre
2010-12-04 00:46:53 +01:00
parent 0530dd3f37
commit 89af396a6b

View File

@@ -868,6 +868,7 @@ void Preferences::fillPreferences () {
chOverwriteOutputFile->set_active (moptions.overwriteOutputFile);
}
/*
void Preferences::loadPressed () {
moptions.copyFrom (&options);
@@ -880,12 +881,14 @@ void Preferences::savePressed () {
options.copyFrom (&moptions);
Options::save ();
}
*/
void Preferences::okPressed () {
storePreferences ();
workflowUpdate();
options.copyFrom (&moptions);
Options::save ();
hide ();
}