[desktop] Cancel downloading.

Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
Viktor Govako
2025-09-20 14:20:09 -03:00
committed by x7z4w
parent 240059ca5b
commit d23d153aef

View File

@@ -8,7 +8,6 @@
#include "base/assert.hpp"
#include "base/logging.hpp"
#include <algorithm>
#include <functional>
#include <limits>
@@ -200,7 +199,7 @@ void UpdateDialog::OnItemClick(QTreeWidgetItem * item, int column)
case NodeStatus::Partly: st.DownloadNode(countryId); break;
case NodeStatus::InQueue:
case NodeStatus::Downloading: st.DeleteNode(countryId); break;
case NodeStatus::Downloading: st.CancelDownloadNode(countryId); break;
case NodeStatus::Applying:
// Do nothing.