Pavel Sanda wrote:
> i wonder why filename->setText(current_filename) & QString current_filename
> = filename->text() gymnastics is needed; isn't this done by par.filename =
> params_.filename; ?

The rationale is: if you change the filename of an existing graphics without 
applying, and then assign a new group, you want still the _new_ filename in 
the dialog.
Furthermore, for new files, params_.filename is empty, so if you assign a 
group for a new, unapplied graphic, the filename would be reset to empty.

Jürgen

Reply via email to