Commit 00d3f94f authored by eric pellegrini's avatar eric pellegrini
Browse files

bug fix when applying or saving a user definition; the other user definition widgets were reset

parent a5878bca
...@@ -133,4 +133,9 @@ class UserDefinitionWidget(IWidget): ...@@ -133,4 +133,9 @@ class UserDefinitionWidget(IWidget):
uds = UD_STORE.filter(self._basename, self._type) uds = UD_STORE.filter(self._basename, self._type)
currentSelection = self._availableUDs.GetStringSelection()
self._availableUDs.SetItems(uds) self._availableUDs.SetItems(uds)
if currentSelection:
self._availableUDs.SetStringSelection(currentSelection)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment