From c9635c5ed62674a783f437c4169a5348c87531e0 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()