Skip to content

Commit 0e89e88

Browse files
committed
Hail Mary change to how I reverse the binding chain
This seems highly unlikely, but as an experiment...
1 parent b196d8c commit 0e89e88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textual/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1743,7 +1743,7 @@ async def check_bindings(self, key: str, priority: bool = False) -> bool:
17431743
"""
17441744

17451745
for namespace, bindings in (
1746-
reversed(self._binding_chain) if priority else self._binding_chain
1746+
list(reversed(self._binding_chain)) if priority else self._binding_chain
17471747
):
17481748
binding = bindings.keys.get(key)
17491749
if binding is not None and binding.priority == priority:

0 commit comments

Comments
 (0)