Stop trying if UI loop is not supported.
authorMathieu Baudier <mbaudier@argeo.org>
Tue, 10 Nov 2020 07:28:32 +0000 (08:28 +0100)
committerMathieu Baudier <mbaudier@argeo.org>
Tue, 10 Nov 2020 07:28:32 +0000 (08:28 +0100)
org.argeo.eclipse.ui/src/org/argeo/eclipse/ui/dialogs/LightweightDialog.java

index 7c710a45443605f6874988c6b0e29543844bce00..606030e38079452eee9ae3239cff55c6a453d633 100644 (file)
@@ -218,6 +218,8 @@ public class LightweightDialog {
                                if (!display.readAndDispatch()) {
                                        display.sleep();
                                }
+                       } catch (UnsupportedOperationException e) {
+                               throw e;
                        } catch (Throwable e) {
                                handleException(e);
                        }