Skip to content

Commit ec7cda9

Browse files
hgohelNick-Hall
authored andcommitted
Fix AttributeError in editor surname tab
When using arrow up/down keys, curr_path isn't set, so when attempting to delete the surname, an AttributeError exception is thrown. This is avoided by initalizing curr_path. Fixes #13322
1 parent 1e32084 commit ec7cda9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gramps/gui/editors/displaytabs/surnametab.py

+1
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ def __init__(
9898
self.curr_col = -1
9999
self.curr_cellr = None
100100
self.curr_celle = None
101+
self.curr_path = None
101102

102103
EmbeddedList.__init__(
103104
self,

0 commit comments

Comments
 (0)