Skip to content

Commit 3639950

Browse files
authored
fix: empty theme shouldn't be possible (#201)
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 24e54db commit 3639950

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uproot_browser/tui/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def compose(self) -> textual.app.ComposeResult:
1111
yield textual.widgets.Label("Tools")
1212
with textual.widgets.Collapsible(title="Theme", collapsed=False):
1313
themes = self.app.available_themes
14-
yield textual.widgets.Select([(t, t) for t in themes])
14+
yield textual.widgets.Select([(t, t) for t in themes], allow_blank=False)
1515

1616
@textual.on(textual.widgets.Select.Changed)
1717
def select_changed(self, event: textual.widgets.Select.Changed) -> None:

0 commit comments

Comments
 (0)