gnucash stable: [gnc-main-window.cpp] addendum to ed03e61dab cancel on click+drag
Christopher Lam
clam at code.gnucash.org
Sat Dec 13 08:40:31 EST 2025
Updated via https://github.com/Gnucash/gnucash/commit/3bda88c5 (commit)
from https://github.com/Gnucash/gnucash/commit/455ea3e7 (commit)
commit 3bda88c568d8cd9e250cfeeda274059b2eeadb67
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Sat Dec 13 08:48:48 2025 +0800
[gnc-main-window.cpp] addendum to ed03e61dab cancel on click+drag
diff --git a/gnucash/gnome-utils/gnc-main-window.cpp b/gnucash/gnome-utils/gnc-main-window.cpp
index 7f4e112924..2b07754413 100644
--- a/gnucash/gnome-utils/gnc-main-window.cpp
+++ b/gnucash/gnome-utils/gnc-main-window.cpp
@@ -5329,6 +5329,8 @@ textview_url_activate (GtkTextTag *tag,
if ((event->type == GDK_BUTTON_RELEASE) &&
(event_button->button == 1) &&
+ !gtk_text_buffer_get_has_selection (gtk_text_view_get_buffer
+ (GTK_TEXT_VIEW (object))) &&
(event_button->y > DEFAULT_MARGIN))
{
gchar *link = (gchar*)g_object_get_data (G_OBJECT(tag), "link");
Summary of changes:
gnucash/gnome-utils/gnc-main-window.cpp | 2 ++
1 file changed, 2 insertions(+)
More information about the gnucash-changes
mailing list