summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-10-06 14:12:25 +0200
committerTannin <devnull@localhost>2013-10-06 14:12:25 +0200
commitb23a4885e075a551eabd5fc42ca45f98aa13f966 (patch)
tree0338ab9c00e71dd40166a5427cd8c7709b46cf87 /src/mainwindow.cpp
parent823dfd410b90407cf6a641226bc46291f23d0004 (diff)
- bugfix: When updating MO, if login is required, the process didn't continue automatically after login
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 10985b0b..57201db9 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -4228,6 +4228,7 @@ void MainWindow::on_actionUpdate_triggered()
(m_AskForNexusPW && queryLogin(username, password)))) {
NexusInterface::instance()->getAccessManager()->login(username, password);
m_LoginAttempted = true;
+ m_PostLoginTasks.push_back([&](MainWindow*) { m_Updater.startUpdate(); });
} else {
m_Updater.startUpdate();
}