Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show save dialog when exiting via shortcut or menu item #5127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

timgblack
Copy link

Ctrl-Q on Linux doesn't prompt to save files like the normal window close button, and I managed to lose work several times over it.

Digging into the openscad (and Qt) source code revealed that File -> Quit has the same behaviour, and it most likely happens on OS X too (Cmd-Q).

I'm no C++ developer, but the fix appeared to be relatively simple once I found it.

@kintel
Copy link
Member

kintel commented May 9, 2024

As it's possible to open multiple windows, are you sure that your fix doesn't just close the current window instead of quitting the application?

@timgblack
Copy link
Author

There's definitely some unintended interaction with multiple windows open! I'll see if I can figure out the best solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants