Skip to content

Commit d544ad4

Browse files
authored
add more precise class name match
1 parent 4c5a40c commit d544ad4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ltk/widgets.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ def load(cls):
626626
""" Load all models of this type from local storage """
627627
return [
628628
cls(key) for key in window.Object.keys(cls.__store)
629-
if key.startswith(cls.__name__)
629+
if key.startswith(f"{cls.__name__}-")
630630
]
631631

632632

0 commit comments

Comments
 (0)