index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Daniel Girtler <blackrabbit256@gmail.com> | 2022-05-17 20:56:41 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-17 12:56:41 +0200 |
commit | 32432b2fdc950e6b884e79cc4f753670c050d321 (patch) | |
tree | 5dab2cbb413f0a5620b316f3052785ae3b9da5d0 /archinstall/lib | |
parent | 72a44e34ef7f4f73126e4d33adc102e6b66fac43 (diff) |
-rw-r--r-- | archinstall/lib/menu/selection_menu.py | 3 |
diff --git a/archinstall/lib/menu/selection_menu.py b/archinstall/lib/menu/selection_menu.py index 73ba1148..35057e9c 100644 --- a/archinstall/lib/menu/selection_menu.py +++ b/archinstall/lib/menu/selection_menu.py @@ -272,7 +272,8 @@ class GeneralMenu: return max([len(str(selection.description)) for selection in entries]) def _find_selection(self, selection_name: str) -> Tuple[str, Selector]: - padding = self._get_menu_text_padding(list(self._menu_options.values())) + enabled_menus = self._menus_to_enable() + padding = self._get_menu_text_padding(list(enabled_menus.values())) option = [(k, v) for k, v in self._menu_options.items() if v.menu_text(padding).strip() == selection_name.strip()] if len(option) != 1: |