directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r513240 - /directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/SearchView.java
Date Thu, 01 Mar 2007 09:43:07 GMT
Author: pamarcelot
Date: Thu Mar  1 01:43:06 2007
New Revision: 513240

URL: http://svn.apache.org/viewvc?view=rev&rev=513240
Log:
Fixed a bug on Linux that caused the text of the search field to be set to blank after a loose
of focus. This bug didn't occured on Mac OS X.

Modified:
    directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/SearchView.java

Modified: directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/SearchView.java
URL: http://svn.apache.org/viewvc/directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/SearchView.java?view=diff&rev=513240&r1=513239&r2=513240
==============================================================================
--- directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/SearchView.java
(original)
+++ directory/ldapstudio/trunk/ldapstudio-schemas-plugin/src/main/java/org/apache/directory/ldapstudio/schemas/view/viewers/SearchView.java
Thu Mar  1 01:43:06 2007
@@ -232,8 +232,10 @@
             {
                 if ( !"".equals( searchField.getText() ) )
                 {
-                    saveHistory( PluginConstants.PREFS_SEARCH_VIEW_SEARCH_HISTORY, searchField.getText()
);
+                	String searchString = searchField.getText();
+                    saveHistory( PluginConstants.PREFS_SEARCH_VIEW_SEARCH_HISTORY, searchString);
                     initSearchHistory();
+                    searchField.setText( searchString );
                 }
             }
         } );



Mime
View raw message