The Preference window now save it's values when clicking OK.

This commit is contained in:
Hombre
2010-12-02 01:45:12 +01:00
parent 10ebd2f7c4
commit ecef42b4c1

View File

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