possible fix for exception on mount

This commit is contained in:
Will McGugan
2022-10-03 17:12:54 +01:00
parent 9de1a87024
commit 65995c7fa2
2 changed files with 3 additions and 4 deletions

View File

@@ -178,9 +178,8 @@ plugins:
default_handler: python
handlers:
python:
rendering:
show_source: false
selection:
options:
show_source: false
filters:
- "!^_"
- "^__init__$"

View File

@@ -329,7 +329,7 @@ class Widget(DOMNode):
"""
self.app._register(self, *anon_widgets, **widgets)
self.screen.refresh(layout=True)
self.app.screen.refresh(layout=True)
def compose(self) -> ComposeResult:
"""Called by Textual to create child widgets.