瀏覽代碼

Revert "Potential stab-in-the-dark fix for race condition."

revert-243-master
Chris Smith 9 年之前
父節點
當前提交
89f079caed
共有 1 個文件被更改,包括 1 次插入3 次删除
  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 查看文件

@@ -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…
取消
儲存