mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
* Chat panel - Fixed that the text of the chat panel was changable by the user.
This commit is contained in:
parent
1f41f3013a
commit
bc5dc80f95
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue