mirror of
https://github.com/ModOrganizer2/modorganizer.git
synced 2026-07-27 13:58:24 -07:00
Fix #523 by resetting m_URL after install.
This commit is contained in:
@@ -643,6 +643,9 @@ bool InstallationManager::doInstall(GuessedValue<QString> &modName, QString game
|
||||
settingsFile.setValue("repository", repository);
|
||||
settingsFile.setValue("url", m_URL);
|
||||
|
||||
//cleanup of m_URL or this will persist across installs.
|
||||
m_URL = "";
|
||||
|
||||
if (!merge) {
|
||||
// this does not clear the list we have in memory but the mod is going to have to be re-read anyway
|
||||
// btw.: installedFiles were written with beginWriteArray but we can still clear it with beginGroup. nice
|
||||
|
||||
Reference in New Issue
Block a user