Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikaël Barbero2013-10-08 10:19:07 +0000
committerMikaël Barbero2013-10-11 13:54:52 +0000
commit7fc2a80ebda0eb6687f105f70a149d11e549eef1 (patch)
tree7ebbf38f3d8d37a75c5cb9ffea5d219a45a02089 /plugins/org.eclipse.emf.compare.ide.ui
parent792e66bc29b83d8e2510dfd5c54ccde91892020f (diff)
downloadorg.eclipse.emf.compare-7fc2a80ebda0eb6687f105f70a149d11e549eef1.tar.gz
org.eclipse.emf.compare-7fc2a80ebda0eb6687f105f70a149d11e549eef1.tar.xz
org.eclipse.emf.compare-7fc2a80ebda0eb6687f105f70a149d11e549eef1.zip
Fix wrong call to async in safe sync method
Diffstat (limited to 'plugins/org.eclipse.emf.compare.ide.ui')
-rw-r--r--plugins/org.eclipse.emf.compare.ide.ui/src/org/eclipse/emf/compare/ide/ui/internal/util/SWTUtil.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.compare.ide.ui/src/org/eclipse/emf/compare/ide/ui/internal/util/SWTUtil.java b/plugins/org.eclipse.emf.compare.ide.ui/src/org/eclipse/emf/compare/ide/ui/internal/util/SWTUtil.java
index 12140f8ca..9e1a64c66 100644
--- a/plugins/org.eclipse.emf.compare.ide.ui/src/org/eclipse/emf/compare/ide/ui/internal/util/SWTUtil.java
+++ b/plugins/org.eclipse.emf.compare.ide.ui/src/org/eclipse/emf/compare/ide/ui/internal/util/SWTUtil.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2012 Obeo.
+ * Copyright (c) 2012, 2013 Obeo.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -29,7 +29,7 @@ public class SWTUtil {
if (Display.getCurrent() != null) {
runnable.run();
} else {
- Display.getDefault().asyncExec(runnable);
+ Display.getDefault().syncExec(runnable);
}
}
}

Back to the top