From 54808cd03f0d8367ca9af6f3aa7dffa493505dfe Mon Sep 17 00:00:00 2001 From: YiFang Xiao Date: Fri, 26 Jan 2024 16:52:27 +0800 Subject: [PATCH] fix: ctrl+v in Welcome page will result a wrong search --- src/ui/articleview.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/articleview.cc b/src/ui/articleview.cc index 67eebe45..09de2c87 100644 --- a/src/ui/articleview.cc +++ b/src/ui/articleview.cc @@ -1886,7 +1886,7 @@ void ArticleView::pasteTriggered() if ( !word.isEmpty() ) { unsigned groupId = getGroup( webview->url() ); - if ( groupId == 0 ) { + if ( groupId == 0 || groupId == Instances::Group::HelpGroupId ) { // We couldn't figure out the group out of the URL, // so let's try the currently selected group. groupId = currentGroupId;