From 45e3835a55e483019f4e72c113474c3e919db3a2 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Thu, 25 Jan 2024 13:55:55 -0600 Subject: [PATCH] If there are no packages to consider, do not go further --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 33df457..cb264c4 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -49,7 +49,7 @@ void MainWindow::setUpdateInfo(QList updateInfo) if (count > 0) { installEnabled = true; - } + } else { continue; } QTreeWidgetItem *installItem; switch (i) {