diff --git a/Mage.Client/src/main/java/mage/client/components/ColorPane.java b/Mage.Client/src/main/java/mage/client/components/ColorPane.java index 240cc4380f..8fc39aa5be 100644 --- a/Mage.Client/src/main/java/mage/client/components/ColorPane.java +++ b/Mage.Client/src/main/java/mage/client/components/ColorPane.java @@ -139,9 +139,7 @@ public class ColorPane extends JEditorPane { if (hyperlinkEnabled) { text = text.replaceAll("(]*>([^<]*)) (\\[[0-9a-fA-F]*\\])", "$1 $3"); } - setEditable(true); kit.insertHTML(doc, doc.getLength(), text, 0, 0, null); - setEditable(false); int len = getDocument().getLength(); setCaretPosition(len);