hankinsoft / SQLPro

SQLPro bug & features tracking.
100 stars 26 forks source link

Closing Query Tab Modal Delete Shortcut or Turn Off #949

Closed phillclark closed 7 months ago

phillclark commented 7 months ago

When closing a query tab, the modal that pops up asking if you wish to save the document doesn't appear to have any shortcut keys to allow you to seletc the "Delete" option without needing to press the button. Adding a shortcut key to this view would save considerable time having to move the mouse point back and forwards when closing multiple tabs.

Alternatively; in the application settings - add an on/off toggle as to whether the closing tab modal should display or not.

hankinsoft commented 7 months ago

When closing a query tab, the modal that pops up asking if you wish to save the document doesn't appear to have any shortcut keys to allow you to seletc the "Delete" option without needing to press the button. Adding a shortcut key to this view would save considerable time having to move the mouse point back and forwards when closing multiple tabs.

This is a system UI dialog so unfortunately, I don't have any controls over shortcuts on it.

Alternatively; in the application settings - add an on/off toggle as to whether the closing tab modal should display or not.

I could see adding this. How about 'Auto-close non-file tabs without saving'. Basically the option would only apply to the generated tabs and not tabs that have been opened via 'File' -> 'Open'. Thoughts?

phillclark commented 7 months ago

I reckon that would work well as a solution.

hankinsoft commented 7 months ago

This should now be available. Please let me know if your seeing any issues.