mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-21 19:27:47 +01:00
Fixed for cancel
This commit is contained in:
parent
951d98640c
commit
37c008dbb2
1 changed files with 3 additions and 1 deletions
|
@ -453,9 +453,11 @@ class Argparse(Configs):
|
||||||
text: str = f'There are {len(choices)} packages:'
|
text: str = f'There are {len(choices)} packages:'
|
||||||
code, tags = self.dialogbox.checklist(text, packages, title, height,
|
code, tags = self.dialogbox.checklist(text, packages, title, height,
|
||||||
width, list_height, choices)
|
width, list_height, choices)
|
||||||
|
|
||||||
os.system('clear')
|
os.system('clear')
|
||||||
|
|
||||||
|
if code == 'cancel':
|
||||||
|
raise SystemExit()
|
||||||
|
|
||||||
if not tags:
|
if not tags:
|
||||||
return packages
|
return packages
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue