Got ESCAPE working after a ChartImage has been selected via a shortcut.

master
Pacman Ghost 5 years ago
parent 56ed7f3a08
commit 3712420733
  1. 1
      src/MainForm.ui.cs

@ -392,6 +392,7 @@ public partial class MainForm : Form
// check if we should apply the keypress to the search results
if ( e.KeyCode == Keys.Escape ) {
mSearchQuery.Text = "" ;
loadSearchResults( mChartImages.Values, "SHOW-ALL" ) ;
e.SuppressKeyPress = true ;
e.Handled = true ;
} else if ( e.KeyCode == Keys.Return ) {

Loading…
Cancel
Save