Resolve "(ui): preferences reset at each commit"
Description
A regression caused the application preferences to be dependent on the commit ref. This fixes the behaviour.
Closes #1131 (closed)
How to test it?
- Build
SightViewer
- Run and maximize the main window
- Exit
- Run
SightViewer
- Observe the window is maximized
- Create a commit with some random blank modifications (spaces for instances)
- Run
SightViewer
- Observe the window is still maximized