From 113be273526158e2b6e291e1c55c2668a7182835 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 2 Oct 2019 12:23:50 +0530 Subject: [PATCH] Coments editor should not explicitly underline inserted links --- src/calibre/gui2/comments_editor.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/calibre/gui2/comments_editor.py b/src/calibre/gui2/comments_editor.py index 68851a8971..680a9dfd99 100644 --- a/src/calibre/gui2/comments_editor.py +++ b/src/calibre/gui2/comments_editor.py @@ -579,7 +579,6 @@ class EditorWidget(QTextEdit, LineEditECM): # {{{ fmt = QTextCharFormat() fmt.setAnchor(True) fmt.setAnchorHref(url) - fmt.setFontUnderline(True) fmt.setForeground(QBrush(QColor('blue'))) if name or not c.hasSelection(): c.mergeCharFormat(fmt)