diff options
Diffstat (limited to 'application/pages/ScreenshotsPage.cpp')
-rw-r--r-- | application/pages/ScreenshotsPage.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application/pages/ScreenshotsPage.cpp b/application/pages/ScreenshotsPage.cpp index 5f5d11f7..2b2fe31f 100644 --- a/application/pages/ScreenshotsPage.cpp +++ b/application/pages/ScreenshotsPage.cpp @@ -300,6 +300,7 @@ void ScreenshotsPage::on_uploadBtn_clicked() albumTask->addNetAction(imgurAlbum); task.addTask(job.unwrap()); task.addTask(albumTask.unwrap()); + m_uploadActive = true; ProgressDialog prog(this); if (prog.execWithTask(&task) != QDialog::Accepted) { @@ -320,6 +321,7 @@ void ScreenshotsPage::on_uploadBtn_clicked() .arg(link, imgurAlbum->deleteHash()), QMessageBox::Information)->exec(); } + m_uploadActive = false; } void ScreenshotsPage::on_deleteBtn_clicked() |