On Friday 15 November 2002 3:23 am, John Levon wrote:
> I forgot I hadn't solved this problem :
>
>     121 void FormPreferences::ok()
>     122 {
>     123         FormBaseDeprecated::ok();
>     124
>     125 // FIXME !!
>     126         if (colors_.modifiedXformsPrefs) {
>     127                 string const filename =
>     128                         AddName(user_lyxdir, "preferences.xform");
>     129                 colors_.modifiedXformsPrefs =
> !XformsColor::write(filename); 130         }
>     131
>     132         lv_.dispatch(FuncRequest(LFUN_SAVEPREFERENCES));
>     133 }
>
> I need to save the file ... ideas ?
>
> john

ControlPreferences::apply() should invoke
        view().apply();
I think that it's up to the view to deal with this, don't you?

Angus

Reply via email to