The preferences are now saved when clicking the OK button of the Pref window
This commit is contained in:
@@ -868,6 +868,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);
|
||||||
@@ -880,12 +881,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 ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user