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
......@@ -132,5 +132,10 @@ class UserDefinitionWidget(IWidget):
def msg_set_ud(self,message):
uds = UD_STORE.filter(self._basename, self._type)
currentSelection = self._availableUDs.GetStringSelection()
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