Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorMTC <MichaelMai2000@users.noreply.github.com>2021-12-11 00:12:16 +1100
committerGitHub <noreply@github.com>2021-12-11 00:12:16 +1100
commit9e840bd9ef37234f0649381a09e498d359155229 (patch)
tree136c87e9905a60587d08e1856a190c4a2c013b58 /archinstall/lib
parent5a70efe2840f57de300eadacf8df3aa853b6a146 (diff)
parentdbb3c0a30e68129e2c71179ad5e957b8ec254cd8 (diff)
Merge branch 'archlinux:master' into patch-1
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/menu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/menu.py b/archinstall/lib/menu.py
index c3436803..6f1c2237 100644
--- a/archinstall/lib/menu.py
+++ b/archinstall/lib/menu.py
@@ -68,7 +68,7 @@ class Menu(TerminalMenu):
idx = self.show()
if idx is not None:
if isinstance(idx, (list, tuple)):
- return [self.menu_options[i] for i in idx]
+ return [self.default_option if ' (default)' in self.menu_options[i] else self.menu_options[i] for i in idx]
else:
selected = self.menu_options[idx]
if ' (default)' in selected and self.default_option: