diff --git a/src/shared/help/indexwindow.cpp b/src/shared/help/indexwindow.cpp index f55148c91d5..87a95ecc7bb 100644 --- a/src/shared/help/indexwindow.cpp +++ b/src/shared/help/indexwindow.cpp @@ -164,7 +164,7 @@ bool IndexWindow::eventFilter(QObject *obj, QEvent *e) if (tc.exec() == QDialog::Accepted) { CentralWidget::instance()->setSourceInNewTab(tc.link()); } - } else { + } else if (links.count() == 1) { CentralWidget::instance()-> setSourceInNewTab(links.constBegin().value()); }