You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(grid-overlay): write JSON defaults only on new file or Restore Defaults
- Add `is_new_file()` to config_file: tracks whether the config file
was absent at load time; set true when load_from_file returns no data
- ux-window.cpp: gate the grid set_nested calls on is_new_file(), so
defaults are written only when the JSON file is first created
- viewer.cpp: populate grid defaults in temp_cfg when Restore Defaults
is pressed, so the section is (re)created on OK/Apply
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments