-
-
Notifications
You must be signed in to change notification settings - Fork 364
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
Solved undo deleted item. #486
Conversation
Thanks for this. As a start, could you reduce this down to only the necessary changes. At the moment, this pull request includes both unrelated changes (e.g. adding a |
Ok, I will try to let only necessary changes, so, I should add Ctrl+Q shortcut to another pull request? Will you accept this new pull request? I am asking this to know if I should prepare another pull request. Of course, this is not a condition, I will filter the current pull request with what it needs, no problem. |
See the following method:
I don't think I can remove
|
I'll come out with another pull request. |
Pull requests for new shortcuts are fine in general. In this specific case, I'm not really a fan of adding Ctrl+Q as a default shortcut, since Q is right next to W, making it easy to accidentally close the application, instead of closing the current tab. I've had that happen to me in other applications, for example. There's ongoing work (tracked in #476) to allow keyboard shortcuts to be customised, so once that's done, you could add Ctrl+Q as a user shortcut, without having to modify the code. |
So, the undo deelted changes will be rejected? Have you seen I removed that Ctrl+Q shortcut? That's why I named - clean code the pull request. |
Sorry, I meant I wasn't really in favor of adding a Ctrl+Q shortcut, specifically. I'm still planning on reviewing the changes in the updated pull request. |
Another option will be to have Ctrl+Shift+W as Quit accelerator. |
I have solved the missing feature option -> Undo deleted item.