ソースを参照

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
                 .ifPresent(c -> setTitle(event.getTitle()));
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
     public void unreadStatusChanged(final UnreadStatusChangedEvent event) {
527
     public void unreadStatusChanged(final UnreadStatusChangedEvent event) {
530
         activeFrame.map(Window::getContainer)
528
         activeFrame.map(Window::getContainer)
531
                 .filter(isEqual(event.getSource()))
529
                 .filter(isEqual(event.getSource()))

読み込み中…
キャンセル
保存