Rename profile in sub-menu (#2033)

Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
This commit is contained in:
Daniel Girtler 2023-09-14 20:56:06 +10:00 committed by GitHub
parent 56567221b6
commit f185538355
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class ProfileMenu(AbstractSubMenu):
def setup_selection_menu_options(self):
self._menu_options['profile'] = Selector(
_('Profile'),
_('Type'),
lambda x: self._select_profile(x),
display_func=lambda x: x.name if x else None,
preview_func=self._preview_profile,