On Thursday 12 September 2002 1:06 pm, R. Lahaye wrote: > Ah, now I got it! > > If I type my own filename, everthing gets reset, otherwise > not. Don't like that. Why do you want that?
No, this says that if you open a new buffer then reset the dialog, else don't. > I suggest something like: > > void FormPrint::update() > { > static bool skip = false; Fair enough. Make that a class member for when we have multiple dialogs. Leads to its own ridiculousnesses. Like print to filea.ps although I'm now editing fileb.lyx. > This has, unfortunately, one odd behaviour: when I change > entries, but then click on [Cancel], the changed entries are > remembered. We may not want that, do we? Then store pp and on Cancel reset the widgets to it. > But at least we are getting closer here, I believe. To what? If going in circles, then you may be getting closer to the start... Angus