Re #4918. Fixed the crash in user function dialog.
Merge branch 'bugfix/4918_crash_saving_function_twice' into develop