From 29ce34b09ba3fde6d940ed66504b090790f9d889 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Mon, 6 Mar 2023 23:35:56 +0200 Subject: [PATCH] Fixed for remove deps --- slpkg/views/views.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/slpkg/views/views.py b/slpkg/views/views.py index 25cb07ec..c2dece69 100644 --- a/slpkg/views/views.py +++ b/slpkg/views/views.py @@ -171,11 +171,13 @@ class ViewMessage(Configs): for package in dependencies: repo_ver: str = SBoQueries(package).version() - choices += [(package, repo_ver, True)] + inst_pkg: str = self.utils.is_package_installed(package, self.file_pattern) + choices += [(package, repo_ver, True, f'Removed: {inst_pkg}')] text: str = f'There are {len(choices)} dependencies:' - code, tags = self.dialogbox.checklist(text, title, height, width, list_height, choices, dependencies) + code, tags = self.dialogbox.checklist(text, dependencies, title, height, width, list_height, + choices, True) if not code: return dependencies