directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1221673 - /directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/TextFormatsPreferencePage.java
Date Wed, 21 Dec 2011 10:59:37 GMT
Author: pamarcelot
Date: Wed Dec 21 10:59:37 2011
New Revision: 1221673

URL: http://svn.apache.org/viewvc?rev=1221673&view=rev
Log:
Fix for DIRSTUDIO-754 (Some values in the 'Text Formats' preference page are not saved between
launches).

Modified:
    directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/TextFormatsPreferencePage.java

Modified: directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/TextFormatsPreferencePage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/TextFormatsPreferencePage.java?rev=1221673&r1=1221672&r2=1221673&view=diff
==============================================================================
--- directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/TextFormatsPreferencePage.java
(original)
+++ directory/studio/trunk/plugins/ldapbrowser.common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/preferences/TextFormatsPreferencePage.java
Wed Dec 21 10:59:37 2011
@@ -451,7 +451,6 @@ public class TextFormatsPreferencePage e
             .getSelection() );
         coreStore.setValue( BrowserCoreConstants.PREFERENCE_LDIF_INCLUDE_VERSION_LINE, includeVersionLineButton
             .getSelection() );
-        BrowserCorePlugin.getDefault().savePluginPreferences();
 
         coreStore.setValue( BrowserCoreConstants.PREFERENCE_FORMAT_CSV_ATTRIBUTEDELIMITER,
csvAttributeDelimiterWidget
             .getRawValue() );
@@ -479,6 +478,8 @@ public class TextFormatsPreferencePage e
         coreStore.setValue( BrowserCoreConstants.PREFERENCE_FORMAT_XLS_BINARYENCODING, xlsBinaryEncodingWidget
             .getRawValue() );
 
+        BrowserCorePlugin.getDefault().savePluginPreferences();
+
         validate();
 
         return true;



Mime
View raw message