diff --git a/gui/wxpython/gui_core/gselect.py b/gui/wxpython/gui_core/gselect.py index 10670395c55..aa15d48d2d8 100644 --- a/gui/wxpython/gui_core/gselect.py +++ b/gui/wxpython/gui_core/gselect.py @@ -1173,7 +1173,7 @@ def InsertColumns( if key in excludeCols: self.columns.remove(key) if type: # only selected column types - for key, value in columnchoices.item(): + for key, value in columnchoices.items(): if value["type"] not in type: try: self.columns.remove(key)