Explorar el Código

Merge pull request #244 from DMDirc/revert-243-master

Revert "Potential stab-in-the-dark fix for race condition."
pull/246/head
Greg Holmes hace 9 años
padre
commit
9bea1fee71
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1
    3
      ui_swing/src/com/dmdirc/addons/ui_swing/MainFrame.java

+ 1
- 3
ui_swing/src/com/dmdirc/addons/ui_swing/MainFrame.java Ver fichero

@@ -523,9 +523,7 @@ public class MainFrame extends JFrame implements WindowListener, ConfigChangeLis
523 523
                 .ifPresent(c -> setTitle(event.getTitle()));
524 524
     }
525 525
 
526
-    // Minimum priority so that the treeview etc receive the event first, avoiding a race condition
527
-    // where we reset it too quickly.
528
-    @Handler(priority = Integer.MIN_VALUE)
526
+    @Handler
529 527
     public void unreadStatusChanged(final UnreadStatusChangedEvent event) {
530 528
         activeFrame.map(Window::getContainer)
531 529
                 .filter(isEqual(event.getSource()))

Loading…
Cancelar
Guardar