Skip to content

Commit 1565d7d

Browse files
authored
gui: fix editing categories in vdigit (OSGeo#6265)
1 parent 65618d0 commit 1565d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gui/wxpython/vdigit/dialogs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ def OnCancel(self, event):
401401

402402
def OnApply(self, event):
403403
"""Apply button pressed"""
404-
for fid in self.cats.keys():
404+
for fid in list(self.cats.keys()):
405405
newfid = self.ApplyChanges(fid)
406406
if fid == self.fid and newfid > 0:
407407
self.fid = newfid

0 commit comments

Comments
 (0)