commit ab7fe76b60028a689e00af8ad8c33c29015b9698 parent 189cba27d16fde8976e848ec8c4520bc669a6e79 Author: cfillion <cfillion@users.noreply.github.com> Date: Tue, 7 Jun 2016 18:21:21 -0400 don't close the manager after an import if it was already opened Diffstat:
M | src/reapack.cpp | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/reapack.cpp b/src/reapack.cpp @@ -193,8 +193,11 @@ void ReaPack::uninstall(const Remote &remote) void ReaPack::importRemote() { + const bool autoClose = m_manager == nullptr; + manageRemotes(); - if(!m_manager->import()) + + if(!m_manager->import() && autoClose) m_manager->close(); }