diff options
| author | Tannin <devnull@localhost> | 2013-10-06 14:12:25 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-10-06 14:12:25 +0200 |
| commit | b23a4885e075a551eabd5fc42ca45f98aa13f966 (patch) | |
| tree | 0338ab9c00e71dd40166a5427cd8c7709b46cf87 /src/mainwindow.cpp | |
| parent | 823dfd410b90407cf6a641226bc46291f23d0004 (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.cpp | 1 |
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(); } |
