directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r1731721 - /directory/studio/trunk/plugins/apacheds.configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/ServerConfigurationEditor.java
Date Mon, 22 Feb 2016 19:16:05 GMT
Author: seelmann
Date: Mon Feb 22 19:16:04 2016
New Revision: 1731721

URL: http://svn.apache.org/viewvc?rev=1731721&view=rev
Log:
DIRSTUDIO-919: Fix invalid thread access

Modified:
    directory/studio/trunk/plugins/apacheds.configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/ServerConfigurationEditor.java

Modified: directory/studio/trunk/plugins/apacheds.configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/ServerConfigurationEditor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/ServerConfigurationEditor.java?rev=1731721&r1=1731720&r2=1731721&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/ServerConfigurationEditor.java
(original)
+++ directory/studio/trunk/plugins/apacheds.configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/ServerConfigurationEditor.java
Mon Feb 22 19:16:04 2016
@@ -263,11 +263,17 @@ public class ServerConfigurationEditor e
      *
      * @param monitor the monitor
      */
-    private void doSavePages( IProgressMonitor monitor )
+    private void doSavePages( final IProgressMonitor monitor )
     {
         if ( partitionsPage != null )
         {
-            partitionsPage.doSave( monitor );
+            Display.getDefault().syncExec( new Runnable()
+            {
+                public void run()
+                {
+                    partitionsPage.doSave( monitor );
+                }
+            } );
         }
     }
 



Mime
View raw message