ncsa / qdl

the QDL programming language
Other
2 stars 0 forks source link

On deserialize from JSON function and variable edit window missing back reference to workspace #71

Closed jjg-123 closed 4 days ago

jjg-123 commented 2 months ago

Real edge case. Loading a workspace that has been saved then attempting to edit (in the Swing GUI) a completely new function e.g.

)funcs edit f 1

Pops up the window, but there is no reference to the workspace set, so saved cause an NPE. This is because the workspace is reset on deserialization. Just set it.