diff options
Diffstat (limited to 'src/downloadmanager.cpp')
| -rw-r--r-- | src/downloadmanager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/downloadmanager.cpp b/src/downloadmanager.cpp index 1e4ec1f4..ab8da7b8 100644 --- a/src/downloadmanager.cpp +++ b/src/downloadmanager.cpp @@ -875,7 +875,8 @@ void DownloadManager::queryInfo(int index) std::numeric_limits<int>::max(), 1, &ok);
// careful now: while the dialog was displayed, events were processed.
// the download list might have changed and our info-ptr invalidated.
- m_ActiveDownloads[index]->m_FileInfo->modID = modId;
+ if (ok)
+ m_ActiveDownloads[index]->m_FileInfo->modID = modId;
return;
}
}
|
