aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2012-02-13 13:42:18 +0000
committerDamian Minkov <damencho@jitsi.org>2012-02-13 13:42:18 +0000
commit03665dbd8b476236fd842ee37dfb6050d61fadd3 (patch)
treed1dd2842c7c26555c4738aef3e9eb19554b96243 /src
parent6faa9cecec62b42880f14b25f4a90430ab321a41 (diff)
downloadjitsi-03665dbd8b476236fd842ee37dfb6050d61fadd3.zip
jitsi-03665dbd8b476236fd842ee37dfb6050d61fadd3.tar.gz
jitsi-03665dbd8b476236fd842ee37dfb6050d61fadd3.tar.bz2
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.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/net/java/sip/communicator/impl/gui/main/chat/ChatConversationPanel.java4
1 files changed, 4 insertions, 0 deletions
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 = "";
}
});