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

Fixed bug with editing by F2 & Enter in favorite tree #263

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Air77777
Copy link

Add new hokeys for favorites - F9, Del, Insert

Add new hokeys for favorites - F9, Del, Insert
return MessageBox.Show(messsage, "Terminals - Delete",
MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes;
MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question) == DialogResult.Yes;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why YesNoCancel, if Cancel makes no sence here?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@@ -643,7 +660,7 @@ private void SheduleRename(IFavorite favorite, string newName)
private void ApplyRename(IFavorite favorite, string newName)
{
this.renameCommand.ApplyRename(favorite, newName);
this.isRenaming = false;
//this.isRenaming = false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this line is removed?

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

Successfully merging this pull request may close these issues.

2 participants