diff --git a/src/gui/properties/propertieswidget.cpp b/src/gui/properties/propertieswidget.cpp index a1a49abc5..618081200 100644 --- a/src/gui/properties/propertieswidget.cpp +++ b/src/gui/properties/propertieswidget.cpp @@ -540,6 +540,9 @@ QString PropertiesWidget::getFullPath(const QModelIndex &index) const void PropertiesWidget::openItem(const QModelIndex &index) const { + if (!index.isValid()) + return; + m_torrent->flushCache(); // Flush data Utils::Gui::openPath(getFullPath(index)); }