Pārlūkot izejas kodu

auto error sending no longer hangs client

git-svn-id: http://svn.dmdirc.com/trunk@894 00569f92-eb28-0410-84fd-f71c24880f
tags/0.3
Gregory Holmes 17 gadus atpakaļ
vecāks
revīzija
5d25a65aa9

+ 5
- 1
src/uk/org/ownage/dmdirc/ui/dialogs/ErrorDialog.java Parādīt failu

@@ -123,7 +123,11 @@ public final class ErrorDialog extends JDialog implements ActionListener,
123 123
         layoutComponents();
124 124
         setLocationRelativeTo(MainFrame.getMainFrame());
125 125
         if (autoSubmit && level != ErrorLevel.FATAL) {
126
-            sendData();
126
+            new Timer().schedule(new TimerTask() {
127
+                public void run() {
128
+                    sendData();
129
+                }
130
+            }, 1);
127 131
         }
128 132
     }
129 133
     

Notiek ielāde…
Atcelt
Saglabāt