mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
removed cruft
This commit is contained in:
@@ -130,10 +130,6 @@ class MessagePump(metaclass=MessagePumpMeta):
|
||||
"""
|
||||
self._parent = parent
|
||||
|
||||
def _detach(self) -> None:
|
||||
"""Unset the parent, removing it from the tree."""
|
||||
self._parent = None
|
||||
|
||||
def check_message_enabled(self, message: Message) -> bool:
|
||||
return type(message) not in self._disabled_messages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user