Ensure that post processing scripts are correctly reloaded on project loading

Previously it would not re load post processing plugins if it was updating an existing machine

Fixes #6881
This commit is contained in:
Jaime van Kessel 2020-01-07 10:45:57 +01:00
parent 2a09404235
commit 523b4e96a8
No known key found for this signature in database
GPG key ID: 3710727397403C91
2 changed files with 39 additions and 17 deletions

View file

@ -1005,8 +1005,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
# Set metadata fields that are missing from the global stack
for key, value in self._machine_info.metadata_dict.items():
if key not in global_stack.getMetaData():
global_stack.setMetaDataEntry(key, value)
global_stack.setMetaDataEntry(key, value)
def _updateActiveMachine(self, global_stack):
# Actually change the active machine.