commit cc8d7f6183ec974146559da5e423191f881908a0
parent dd7ac7170332c50cbeeee639c985a2398c0c0b22
Author: cfillion <cfillion@users.noreply.github.com>
Date: Tue, 19 Jan 2016 18:51:57 -0800
prevent interaction with the configuration dialog when displaying a report
this fixes a crash occuring when doing these operations:
1. Mark a remote for uninstallation
2. Click on OK
3. Click on OK again (do as if the report dialog wasn't there)
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/reapack.cpp b/src/reapack.cpp
@@ -232,6 +232,7 @@ Transaction *ReaPack::createTransaction()
return;
m_progress->disable();
+ m_manager->disable();
if(m_transaction->taskCount() == 0 && m_transaction->errors().empty())
ShowMessageBox("Nothing to do!", "ReaPack", 0);
@@ -239,6 +240,7 @@ Transaction *ReaPack::createTransaction()
Dialog::Show<Report>(m_instance, m_mainWindow, m_transaction);
m_progress->enable();
+ m_manager->enable();
});
m_transaction->onDestroy([=] {