Describe the bug
Rename a shock OR a shock and a variable (within GUI). Reload Data will remove this shock or shock/variable. Exit and start mmb-gui-electron will show the shock or shock/variable.
To Reproduce
Steps to reproduce the behavior:
Edit (a shock text) or (a shock text and a variable text) within the GUI (e.g CA_ToTEM10, la_shk renamed to Test Name) (see screenshot 1)
Click on save
Click on Reload Data
renamed shock (or shock/variable) disappears for the selected model (see screenshot 2)
exit mmb
start mmb
renamed shock (or shock/variable) appears for the selected model (see screenshot 3)
Expected behavior
The renamed shock (or shock/variable) should appear in step 4.
Renaming a variable only is as expected (shown at step 4)
Screenshots
1 shows before the renaming
2 after renaming and reloading
3 after restarting mmb
Desktop (please complete the following information):
Windows 10, Octave 4.4.1, Dynare 4.5.7
Additional Info:
Problem appears for changing shock text
Problem appears for changing shock text and variable text together
Problem does not appear for changing variable name only
Describe the bug Rename a shock OR a shock and a variable (within GUI). Reload Data will remove this shock or shock/variable. Exit and start mmb-gui-electron will show the shock or shock/variable.
To Reproduce Steps to reproduce the behavior:
Expected behavior The renamed shock (or shock/variable) should appear in step 4. Renaming a variable only is as expected (shown at step 4)
Screenshots 1 shows before the renaming 2 after renaming and reloading 3 after restarting mmb
Desktop (please complete the following information): Windows 10, Octave 4.4.1, Dynare 4.5.7
Additional Info: