From 03665dbd8b476236fd842ee37dfb6050d61fadd3 Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Mon, 13 Feb 2012 13:42:18 +0000 Subject: Fixes subsequent open of chat history urls when trying to focus back on the chat conversation by clicking the mouse on the chat history panel. --- .../sip/communicator/impl/gui/main/chat/ChatConversationPanel.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/net/java/sip/communicator/impl/gui/main/chat/ChatConversationPanel.java b/src/net/java/sip/communicator/impl/gui/main/chat/ChatConversationPanel.java index 4e02032..d5ae62f 100755 --- a/src/net/java/sip/communicator/impl/gui/main/chat/ChatConversationPanel.java +++ b/src/net/java/sip/communicator/impl/gui/main/chat/ChatConversationPanel.java @@ -246,6 +246,10 @@ public class ChatConversationPanel public void actionPerformed(ActionEvent e) { GuiActivator.getBrowserLauncher().openURL(currentHref); + + // after opening the link remove the currentHref to avoid + // clicking on the window to gain focus to open the link again + ChatConversationPanel.this.currentHref = ""; } }); -- cgit v1.1