Skip to content

Commit f2db3f3

Browse files
committed
Revert deliberate test fail
Wasn't that.
1 parent 32d3fc0 commit f2db3f3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/textual/app.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1742,10 +1742,9 @@ async def check_bindings(self, key: str, priority: bool = False) -> bool:
17421742
bool: True if the key was handled by a binding, otherwise False
17431743
"""
17441744

1745-
# for namespace, bindings in (
1746-
# list(reversed(self._binding_chain)) if priority else self._binding_chain
1747-
# ):
1748-
for namespace, bindings in self._binding_chain:
1745+
for namespace, bindings in (
1746+
list(reversed(self._binding_chain)) if priority else self._binding_chain
1747+
):
17491748
binding = bindings.keys.get(key)
17501749
if binding is not None and binding.priority == priority:
17511750
await self.action(binding.action, default_namespace=namespace)

0 commit comments

Comments
 (0)