Commit 01a498ae authored by Remi Perenon's avatar Remi Perenon
Browse files

Merge branch 'bugfix-error_message_when_closing_and_reopening_molecular_viewers' into 'develop'

Bugfix error message when closing and reopening molecular viewers

See merge request !46
parents d8733d71 1682d7e0
Pipeline #4794 passed with stages
in 24 minutes and 6 seconds
* ADDED Neutron Dynamic Total Structure Factor analysis
* ADDED User can now launch a script with qvector parameters instead of saved qvector definition
* FIXED issue #44 An error message appeared when display, close and reopen molecular viewer and animation
* FIXED issue #43 The weights are no more normalized with absolute sum /!\ Modifies at least CCF, DCSF and SSF job behavior
* FIXED issue #42 Plotter units could be inconsistent
* FIXED issue #41 Instrument resolution window froze GUI on macOS
......@@ -251,12 +251,17 @@ class MolecularViewerPlugin(ComponentPlugin):
def close(self):
def close(self):
# Ensure unsubscription
# Clear the viewer
def __del__(self):
def __del__(self):
# Ensure unsubscription
def __unsubscribe(self):
PUBLISHER.unsubscribe(self.msg_set_selection, "msg_set_selection")
PUBLISHER.unsubscribe(self.msg_switch_viewers_state, "msg_switch_viewers_state")
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