diff --git a/retroshare-gui/src/gui/RetroShareLink.cpp b/retroshare-gui/src/gui/RetroShareLink.cpp index 21e253fc1..b58e7186b 100644 --- a/retroshare-gui/src/gui/RetroShareLink.cpp +++ b/retroshare-gui/src/gui/RetroShareLink.cpp @@ -1141,6 +1141,7 @@ static void processList(const QStringList &list, const QString &textSingular, co int countUnknown = 0; int countFileOpened = 0; bool needNotifySuccess = false; + bool dontOpenNextFile = false; // file QStringList fileAdded; @@ -1306,20 +1307,23 @@ static void processList(const QStringList &list, const QString &textSingular, co QFileInfo qinfo; qinfo.setFile(QString::fromUtf8(path.c_str())); - if (qinfo.exists() && qinfo.isFile()) { + if (qinfo.exists() && qinfo.isFile() && !dontOpenNextFile) { QString question = "
"; question += QObject::tr("Warning: Retroshare is about to ask your system to open this file. "); question += QObject::tr("Before you do so, please make sure that this file does not contain malicious executable code."); question += "