From bc5dc80f955a0a4df48da62246ed5d94bd19cd81 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sat, 13 Sep 2014 21:06:28 +0200 Subject: [PATCH] * Chat panel - Fixed that the text of the chat panel was changable by the user. --- Mage.Client/src/main/java/mage/client/chat/ChatPanel.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Mage.Client/src/main/java/mage/client/chat/ChatPanel.java b/Mage.Client/src/main/java/mage/client/chat/ChatPanel.java index 2d34a8bf8b..8350f476cd 100644 --- a/Mage.Client/src/main/java/mage/client/chat/ChatPanel.java +++ b/Mage.Client/src/main/java/mage/client/chat/ChatPanel.java @@ -244,7 +244,10 @@ public class ChatPanel extends javax.swing.JPanel { text.append(getColoredText(userColor, username + userSeparator)); } text.append(getColoredText(textColor, ManaSymbols.replaceSymbolsWithHTML(message, ManaSymbols.Type.PAY) + "\n")); + + this.txtConversation.setEditable(true); this.txtConversation.append(text.toString()); + this.txtConversation.setEditable(false); } private String getColoredText(String color, String text) {