diff --git a/src/gui/transferlistwidget.cpp b/src/gui/transferlistwidget.cpp index 95814c0e6..17358729b 100644 --- a/src/gui/transferlistwidget.cpp +++ b/src/gui/transferlistwidget.cpp @@ -256,7 +256,10 @@ TransferListModel *TransferListWidget::getSourceModel() const void TransferListWidget::previewFile(const Path &filePath) { - Utils::Gui::openPath(filePath); + QTimer::singleShot(0, this, [=]() + { + Utils::Gui::openPath(filePath); + }); } QModelIndex TransferListWidget::mapToSource(const QModelIndex &index) const