Commit 80e330c9 authored by eric pellegrini's avatar eric pellegrini
Browse files

Bug fix when updating parameters panel

parent a438f786
......@@ -296,7 +296,7 @@ class QVectorsPlugin(UserDefinitionPlugin):
if generatorName == self._currentGenerator:
return
self._currentGenerator = REGISTRY["q_vectors"][generatorName](self._trajectory.universe)
self._parametersSizer.Clear(deleteWindows=True)
......@@ -306,8 +306,10 @@ class QVectorsPlugin(UserDefinitionPlugin):
self._configurationPanel = ConfigurationPanel(self._mainPanel, self._currentGenerator)
self._parametersSizer.Add(self._configurationPanel, 1, wx.ALL|wx.EXPAND, 5)
self.Thaw()
self._parametersSizer.Layout()
self._mgr.Update()
\ No newline at end of file
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