Browse Source

Merge pull request #533 from csmith/master

Don't block for the EDT when an error is raised.
pull/534/head
Shane Mc Cormack 7 years ago
parent
commit
132e2c8428

+ 2
- 2
ui_swing/src/main/java/com/dmdirc/addons/ui_swing/components/statusbar/ErrorPanel.java View File

@@ -147,12 +147,12 @@ public class ErrorPanel extends StatusbarPopupPanel<JLabel> implements ErrorsDia
147 147
 
148 148
     @Override
149 149
     public void errorDeleted(final DisplayableError error) {
150
-        UIUtilities.invokeAndWait(this::checkErrors);
150
+        UIUtilities.invokeLater(this::checkErrors);
151 151
     }
152 152
 
153 153
     @Override
154 154
     public void errorAdded(final DisplayableError error) {
155
-        UIUtilities.invokeAndWait(this::checkErrors);
155
+        UIUtilities.invokeLater(this::checkErrors);
156 156
     }
157 157
 
158 158
     @Override

Loading…
Cancel
Save