Am Dienstag, den 14.02.2006, 14:00 +0200 schrieb Martin Vermeer:
> On Mon, 2006-02-13 at 23:16 +0100, Jean-Marc Lasgouttes wrote:
> > >>>>> "Martin" == Martin Vermeer <[EMAIL PROTECTED]> writes:
> > 
> > Martin> Attached, please verify. - Martin
> > 
> > Is that a qt-only bug?
> 
> No.
> 
> Attached what is needed to fix it for xforms also.

And here's one for gtk that depends on the same change to the
controller.

Let me check that I understand the logic correctly:
When we first show the dialog, if controller.changed() returns true then
there are changes to be merged, and if it returns false then there are
no changes to be merged.  Correct?

John
Index: GChanges.C
===================================================================
--- GChanges.C	(revision 13231)
+++ GChanges.C	(working copy)
@@ -63,7 +63,10 @@
 
 void GChanges::update()
 {
-	onNext();
+	if (controller().changed())
+		promptChange();
+	else
+		promptDismiss();
 }
 
 

Reply via email to