Issue #12094: Prevent another segfault in Gradient Flare plug-in
This patch attempts (again) to resolve issue #12094 (closed)
Functions that updates the main dialogue preview and the editing dialogue preview were conflicting with each other, setting various strings to NULL.
This patch turns off the main dialogue preview updating code when the edit dialogue is open, to prevent this overwriting behavior.