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