Skip to content

Commit

Permalink
move reset
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Jul 5, 2024
1 parent 484e74e commit c403d76
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/textual/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,5 @@ def _bubble_to(self, widget: MessagePump) -> None:
Args:
widget: Target of bubble.
"""
self._no_default_action = False
widget.post_message(self)
1 change: 0 additions & 1 deletion src/textual/message_pump.py
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,6 @@ def _get_dispatch_methods(
]
for cls in self.__class__.__mro__:
if message._no_default_action:
message._no_default_action = False
break
# Try decorated handlers first
decorated_handlers = cast(
Expand Down

0 comments on commit c403d76

Please sign in to comment.