commit 81d0b58adc8a3e5960a88f566227b5f2e922ae9e
parent caa00289e8f00d5e7396fa386a31d2f64882cf17
Author: Paul <paul@claws-mail.org>
Date: Thu, 17 Nov 2016 09:46:31 +0000
fix text selection when double-clicking quoted text and 'collapse quoted text on double click' is turned off
Patch by Andrej
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/textview.c b/src/textview.c
@@ -2774,9 +2774,11 @@ static gboolean textview_uri_button_pressed(GtkTextTag *tag, GObject *obj,
}
return TRUE;
} else if (qlink && bevent->button == 1) {
- if (prefs_common.hide_quoted)
+ if (prefs_common.hide_quoted) {
textview_toggle_quote(textview, NULL, uri, FALSE);
- return TRUE;
+ return TRUE;
+ } else
+ return FALSE;
} else if (!g_ascii_strncasecmp(uri->uri, "mailto:", 7)) {
if (bevent->button == 3) {
g_object_set_data(