Skip to content

Commit 32d3fc0

Browse files
committed
Revert to a deliberate priority binding lookup fail
Just for the moment; just to see if I can get this to fail normally in CI.
1 parent 0e89e88 commit 32d3fc0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/textual/app.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1742,9 +1742,10 @@ 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-
):
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:
17481749
binding = bindings.keys.get(key)
17491750
if binding is not None and binding.priority == priority:
17501751
await self.action(binding.action, default_namespace=namespace)

0 commit comments

Comments
 (0)