commit 87536a0e4480fcabd69c2b44f8d2a8b6aeef4e9c
parent ab0d30cba3395f3a73fce1da796df44f453f012e
Author: cfillion <cfillion@users.noreply.github.com>
Date: Wed, 6 Dec 2017 03:20:26 -0500
import: restore behavior of always enabling existing repositories on re-import
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/import.cpp b/src/import.cpp
@@ -192,6 +192,7 @@ bool Import::read(MemoryDownload *dl, const size_t idx)
else if(exists && remote.isEnabled()) // url is also the same
return true; // nothing to do
+ remote.setEnabled(true);
remote.setName(index->name());
remote.setUrl(dl->url());
m_queue.push_back({idx, remote, dl->contents()});