Update the search box when looking up a word from the context menu

This commit is contained in:
~lucidiot 2022-06-19 05:06:28 +02:00
parent e593a282dc
commit 6c7a9c3895
1 changed files with 3 additions and 1 deletions

View File

@ -113,8 +113,10 @@ namespace ToeCracker {
}
private void lookUpToolStripMenuItem_Click(object sender, EventArgs e) {
if (this.SelectedWord != null)
if (this.SelectedWord != null) {
this.searchTextBox.Text = this.SelectedWord;
this.Search(this.SelectedWord);
}
}
}
}