summaryrefslogtreecommitdiff
path: root/src/shared/help/indexwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/help/indexwindow.cpp')
-rw-r--r--src/shared/help/indexwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/help/indexwindow.cpp b/src/shared/help/indexwindow.cpp
index f55148c91d..87a95ecc7b 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());
}