diff options
author | Damian Minkov <damencho@jitsi.org> | 2012-02-13 13:42:18 +0000 |
---|---|---|
committer | Damian Minkov <damencho@jitsi.org> | 2012-02-13 13:42:18 +0000 |
commit | 03665dbd8b476236fd842ee37dfb6050d61fadd3 (patch) | |
tree | d1dd2842c7c26555c4738aef3e9eb19554b96243 /src | |
parent | 6faa9cecec62b42880f14b25f4a90430ab321a41 (diff) | |
download | jitsi-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-x | src/net/java/sip/communicator/impl/gui/main/chat/ChatConversationPanel.java | 4 |
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 = ""; } }); |