mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
possible fix for exception on mount
This commit is contained in:
@@ -178,9 +178,8 @@ plugins:
|
||||
default_handler: python
|
||||
handlers:
|
||||
python:
|
||||
rendering:
|
||||
show_source: false
|
||||
selection:
|
||||
options:
|
||||
show_source: false
|
||||
filters:
|
||||
- "!^_"
|
||||
- "^__init__$"
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user