diff --git a/src/net/java/sip/communicator/impl/gui/main/call/CallManager.java b/src/net/java/sip/communicator/impl/gui/main/call/CallManager.java index fe7f82c92..7cb262779 100644 --- a/src/net/java/sip/communicator/impl/gui/main/call/CallManager.java +++ b/src/net/java/sip/communicator/impl/gui/main/call/CallManager.java @@ -174,18 +174,6 @@ else if (CallState.CALL_ENDED.equals(newValue)) } call.removeCallChangeListener(this); - - // If we're currently in the call history view, refresh - // it. - TreeContactList contactList - = GuiActivator.getContactList(); - - if (contactList.getCurrentFilter().equals( - TreeContactList.historyFilter)) - { - contactList.applyFilter( - TreeContactList.historyFilter); - } } } }); @@ -217,6 +205,18 @@ public void callEndedInEventDispatchThread(CallEvent ev) * they need to update their UI, for example). */ forwardCallEventToCallPanels(ev); + + // If we're currently in the call history view, refresh + // it. + TreeContactList contactList + = GuiActivator.getContactList(); + + if (contactList.getCurrentFilter().equals( + TreeContactList.historyFilter)) + { + contactList.applyFilter( + TreeContactList.historyFilter); + } } /**