EasyScience / EasyDiffractionApp

Diffraction data analysis application
https://easydiffraction.org
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Append/Remove atom does not trigger simulated curve update #54

Closed rozyczko closed 3 years ago

rozyczko commented 3 years ago

It seems self._sample._updateInterface() triggers the correct behaviour. Looking at _updateInterface in easyAppGui makes me think one of the binding generators (self.interface.generate_bindings) is the proper trigger.

I'm tempted to just add the self._sample._updateInterface() to both addDefaultAtom and removeAtom.