mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
Merge pull request #1385 from xiaoyifang/fix/ctrl-v-in-welcome-page
fix: ctrl+v in Welcome page will result a wrong search
This commit is contained in:
commit
bc8c615d4d
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue