From 803562d9a8ecd6e405b9122e7f3ff8ad61d941bb Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Wed, 19 Jun 2024 16:30:02 +0100 Subject: [PATCH] simplify example --- examples/dictionary.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/examples/dictionary.py b/examples/dictionary.py index 34055c3ca..496550748 100644 --- a/examples/dictionary.py +++ b/examples/dictionary.py @@ -22,11 +22,6 @@ class DictionaryApp(App): with VerticalScroll(id="results-container"): yield Markdown(id="results") - def on_mount(self) -> None: - """Called when app starts.""" - # Give the input focus, so we can start typing straight away - self.query_one(Input).focus() - async def on_input_changed(self, message: Input.Changed) -> None: """A coroutine to handle a text changed message.""" if message.value: