From 4df03ba83a92ab55f9bd154f70e5dadc2de124b9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 14 Sep 2023 10:48:35 +0000 Subject: [PATCH] tui: Fix selection menu for multiple entries The disk selection process has a list which is not hashable, and therefore this check throws an exception. Signed-off-by: Michael Tremer --- src/python/tui.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/python/tui.py b/src/python/tui.py index 1b635a8..3bb91aa 100644 --- a/src/python/tui.py +++ b/src/python/tui.py @@ -309,10 +309,6 @@ class SelectWindow(ButtonsWindow): super().__init__(tui, title, text, buttons=buttons, height=height, width=width, help=help) - # Reset default it is not part of the items - if not default in items: - default = None - self.items = items self.default = default self.multi = multi -- 2.47.3