diff --git a/src/lib/other/siteinfo.cpp b/src/lib/other/siteinfo.cpp index 08a5fa1d3..9b6fa0930 100644 --- a/src/lib/other/siteinfo.cpp +++ b/src/lib/other/siteinfo.cpp @@ -277,7 +277,7 @@ void SiteInfo::showPixmap(QPixmap pixmap) void SiteInfo::showImagePreview(QTreeWidgetItem *item) { - if (!item) { + if ((!item) || (item->treeWidget()->selectedItems().length() > 1)) { return; } QUrl imageUrl = QUrl::fromEncoded(item->text(1).toUtf8());