>>>>> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes:

Abdelrazak> Indeed. We could ask QErrorList to re-instantiate the
Abdelrazak> dialog... But what about this simpler patch instead? The
Abdelrazak> dialog will not remember its last position but this can be
Abdelrazak> implemented easily.

Did you try it? When you recreate a list, the first element is
selected even if you do not ask for it. At least on qt3. Believe, I
first tried the kind of solution you advocate.

Abdelrazak> The reason why I am insisting is because a change in the
Abdelrazak> controller to accomodate a dialog doesn't feel right. 

Why? The controller is the model, isn't it? Also, this patch does not
change the behaviour of the controller, it just adds a new feature
(the controller can say "I have new data for you") that can be
ignored.

Is it a theoretical or a practical objection?

Abdelrazak> For qt4, doing the model/view separation (as in the
Abdelrazak> Citation and Toc dialogs) will solve the problem.

What would that change?

JMarc

Reply via email to