Description
When custom macros are organized into folders/menus, exporting them preserves the folder information correctly in the exported JSON file.
However, when importing the macros again, this menu field seems to be ignored. The macros are imported, but their original folder/menu structure is not restored.
Environment
- TeXstudio: 4.9.4
- Qt: version 6.10.2
- OS: Ubuntu 26.04
Expected behavior
Expected behavior: imported macros should be placed back into their original menu/folder using the exported menu field.
Actual behavior
Actual behavior: macros are imported without the original folder/menu organization.
How to reproduce
Create a macro folder/menu, for example images.
Create a macro inside this folder.
Export the macros.
Check the exported file: the macro contains "menu": "images".
Import the exported macros into a fresh configuration.
Check the macro menu.