Fixed bug with editing by F2 & Enter in favorite tree#263
Open
Air77777 wants to merge 2 commits intoTerminals-Origin:masterfrom
Open
Fixed bug with editing by F2 & Enter in favorite tree#263Air77777 wants to merge 2 commits intoTerminals-Origin:masterfrom
Air77777 wants to merge 2 commits intoTerminals-Origin:masterfrom
Conversation
Add new hokeys for favorites - F9, Del, Insert
+ smal fixies
jirkapok
reviewed
May 8, 2023
| string messsage = string.Format("Do you really want to delete selected {0}?", target); | ||
| return MessageBox.Show(messsage, "Terminals - Delete", | ||
| MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes; | ||
| MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question) == DialogResult.Yes; |
Contributor
There was a problem hiding this comment.
Why YesNoCancel, if Cancel makes no sence here?
Author
There was a problem hiding this comment.
It is sensefull fix. Because of user can push fast key escape on keyboard to cancel. It is much more usefull way than push dialog button with mouse
| { | ||
| this.renameCommand.ApplyRename(favorite, newName); | ||
| this.isRenaming = false; | ||
| //this.isRenaming = false; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add new hokeys for favorites - F9, Del, Insert