Skip to content

Commit 94c05aa

Browse files
Fix binding merging a la #1336
1 parent 6d48005 commit 94c05aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textual/dom.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def _merge_bindings(cls) -> Bindings:
229229
if issubclass(base, DOMNode):
230230
if not base._inherit_bindings:
231231
bindings.clear()
232-
bindings.append(Bindings(base.BINDINGS))
232+
bindings.append(Bindings(base.__dict__.get("BINDINGS", [])))
233233
keys = {}
234234
for bindings_ in bindings:
235235
keys.update(bindings_.keys)

0 commit comments

Comments
 (0)