mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Revert deliberate test fail
Wasn't that.
This commit is contained in:
@@ -1742,10 +1742,9 @@ class App(Generic[ReturnType], DOMNode):
|
||||
bool: True if the key was handled by a binding, otherwise False
|
||||
"""
|
||||
|
||||
# for namespace, bindings in (
|
||||
# list(reversed(self._binding_chain)) if priority else self._binding_chain
|
||||
# ):
|
||||
for namespace, bindings in self._binding_chain:
|
||||
for namespace, bindings in (
|
||||
list(reversed(self._binding_chain)) if priority else self._binding_chain
|
||||
):
|
||||
binding = bindings.keys.get(key)
|
||||
if binding is not None and binding.priority == priority:
|
||||
await self.action(binding.action, default_namespace=namespace)
|
||||
|
||||
Reference in New Issue
Block a user