Skip to content

Commit

Permalink
Select the filter text when it gets the focus from the menu/shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
ffes committed Dec 7, 2020
1 parent 747a87c commit b7e1a8b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DlgConsole.cpp
Expand Up @@ -1578,6 +1578,9 @@ void FocusLibraryCombo()
void FocusFilterSnippets()
{
SetFocus(s_hFilter);

// Select the old filter text, so the user can easily replace the text
SendMessage(s_hFilter, EM_SETSEL, 0, -1);
}

/////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit b7e1a8b

Please sign in to comment.