directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r550208 - /directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EntryEditorWidgetUniversalListener.java
Date Sun, 24 Jun 2007 11:15:22 GMT
Author: seelmann
Date: Sun Jun 24 04:15:21 2007
New Revision: 550208

URL: http://svn.apache.org/viewvc?view=rev&rev=550208
Log:
DIRSTUDIO-117: Fixed problem when double-clicking the RDN attribute.

Modified:
    directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EntryEditorWidgetUniversalListener.java

Modified: directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EntryEditorWidgetUniversalListener.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EntryEditorWidgetUniversalListener.java?view=diff&rev=550208&r1=550207&r2=550208
==============================================================================
--- directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EntryEditorWidgetUniversalListener.java
(original)
+++ directory/studio/trunk/studio-ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/widgets/entryeditor/EntryEditorWidgetUniversalListener.java
Sun Jun 24 04:15:21 2007
@@ -79,7 +79,9 @@
         public void widgetDefaultSelected( SelectionEvent e )
         {
             if ( startEditAction.isEnabled() )
+            {
                 startEditAction.run();
+            }
         }
     };
 
@@ -93,11 +95,6 @@
          */
         public void mouseDoubleClick( MouseEvent e )
         {
-            if ( startEditAction.isEnabled() )
-            {
-                startEditAction.run();
-            }
-
             IAttribute[] attributes = SelectionUtils.getAttributes( viewer.getSelection()
);
             IValue[] values = SelectionUtils.getValues( viewer.getSelection() );
             if ( attributes.length == 1 && values.length == 0 )



Mime
View raw message