fix(ui): deadlock when exporting transfer function
Description
This fixes a deadlock in STransferFunction::exportPreset()
.
Because SWriter::update
locks data and so does the function body above, a deadlock occurred.
Closes #937 (closed)
How to test it?
Try to export a transfer function. Should not freeze the application.