From 9bad0d05cc14b13bce0fc6d85713c676e96e16ba Mon Sep 17 00:00:00 2001 From: Karthik Nishanth Date: Mon, 5 Nov 2018 14:22:43 +0530 Subject: [PATCH] update progress bar with recalculated percentage immediately after cancellation --- src/libs/ui/docsetsdialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/ui/docsetsdialog.cpp b/src/libs/ui/docsetsdialog.cpp index 7c6deafe5..1ca75d813 100644 --- a/src/libs/ui/docsetsdialog.cpp +++ b/src/libs/ui/docsetsdialog.cpp @@ -726,6 +726,7 @@ void DocsetsDialog::cancelDownload(const QModelIndex &index) // This also triggers selectionChanged() and the state of downloadDocsetsButton // is recomputed on the next selection ui->availableDocsetList->selectionModel()->clearSelection(); + updateCombinedProgress(); } void DocsetsDialog::cancelDownloads()