From: Niki Roo Date: Tue, 26 Mar 2019 07:37:27 +0000 (+0100) Subject: gui: fix internal viewer editable X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=3530eefe42ed0154d576afe44e1247757231c354;p=fanfix-jexer.git gui: fix internal viewer editable --- diff --git a/src/be/nikiroo/fanfix/reader/ui/GuiReaderViewerPanel.java b/src/be/nikiroo/fanfix/reader/ui/GuiReaderViewerPanel.java index 4a4252b..08a9c9c 100644 --- a/src/be/nikiroo/fanfix/reader/ui/GuiReaderViewerPanel.java +++ b/src/be/nikiroo/fanfix/reader/ui/GuiReaderViewerPanel.java @@ -59,6 +59,7 @@ public class GuiReaderViewerPanel extends JPanel { this.imageDocument = story.getMeta().isImageDocument(); this.text = new JEditorPane("text/html", ""); + text.setEditable(false); text.setAlignmentY(TOP_ALIGNMENT); htmlOutput = new GuiReaderViewerTextOutput();