directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r798184 - /directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/AbstractWizardPage.java
Date Mon, 27 Jul 2009 15:11:57 GMT
Author: pamarcelot
Date: Mon Jul 27 15:11:57 2009
New Revision: 798184

URL: http://svn.apache.org/viewvc?rev=798184&view=rev
Log:
Fix for DIRSTUDIO-441 (New ObjectClass and AttributeType wizards always show a warning indicating
that the item does not have any name).

Moved the reset of previous messages one step up.

Modified:
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/AbstractWizardPage.java

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/AbstractWizardPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/AbstractWizardPage.java?rev=798184&r1=798183&r2=798184&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/AbstractWizardPage.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/AbstractWizardPage.java
Mon Jul 27 15:11:57 2009
@@ -70,8 +70,8 @@
      */
     protected void displayErrorMessage( String message )
     {
-        setErrorMessage( message );
         setMessage( null, DialogPage.NONE );
+        setErrorMessage( message );
         setPageComplete( message == null );
     }
 



Mime
View raw message