Files
OneCAD-Draft/src/app
Hakan SevenandClaude Opus 4.7 e27ab79b08 fix(menu): wire EXIT / QUIT commands to the close path (#41)
The OCS main menu's "Exit Open CAD Studio" button dispatched
`Message::Command("EXIT")` but `dispatch_command` had no arm for it,
so the click was swallowed. Route `EXIT` and `QUIT` through
`Message::WindowCloseRequested` so the unsaved-changes dialog runs
first and the app then exits via the same path as the OS-window close.

Closes #41

Co-Authored-By: Claude Opus 4.7 <[email protected]>
2026-05-28 22:55:08 +03:00
..