Dropping a database.

[expired user #7404]'s profile image [expired user #7404] posted 10 years ago in General Permalink
Something I noticed which to me was a slight problem. I accidentally selected the test database and did a right-click to drop it. For sure, I was prompted to confirm the deletion but for some silly reason I hit the enter key by mistake which did indeed drop it. That is, the default button was the "Ok". When you perform drastic unrecoverable deletions I would suggest the "Cancel" button should be the default. It's better to intentionally click "Ok". If you hit the return key like I did, the "Cancel" button would at least do nothing!
ansgar's profile image ansgar posted 10 years ago Permalink
Agree, totally. I will check if I can set the default button in these dialogs of which most stuff is created by Windows itself.
Code modification/commit from ansgar.becker, 10 years ago, revision 8.1.0.4643
Turn "Drop" confirmation dialogs into custom critical types, so we can set focus to the Cancel button. See http://www.heidisql.com/forum.php?t=14042
ansgar's profile image ansgar posted 10 years ago Permalink
Done in r4643
[expired user #7404]'s profile image [expired user #7404] posted 10 years ago Permalink
Thank you, Angsmar.
jfalch's profile image jfalch posted 10 years ago Permalink
not really.
ansgar's profile image ansgar posted 10 years ago Permalink
Harhar (pirate laugh) :)
[expired user #7404]'s profile image [expired user #7404] posted 10 years ago Permalink
Harhar indeed! Installed the latest build and the Cancel button is now the default.

Please login to leave a reply, or register at first.