Skip to content

Fix crash when saving resource after pipeline Delete

If the user uses the paraview pipeline "Delete" button to remove an SMTK resource, they are given the chance to save a modified resource. This then crashes, because the ActiveSource is null, even though we tried to set it.

Instead, disable asking the user about saving, and simply discard changes to the SMTK resource. Leave a TODO for a better fix.

This is a band-aid fix for aeva/aeva#92 (closed)

Merge request reports