Fixed minor issue with Alt_G

git-svn-id: svn://ultimatepp.org/upp/trunk@10388 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-11-03 06:33:31 +00:00
parent 4b1d3aab37
commit de1c8b559e

View file

@ -109,7 +109,7 @@ void Ide::File(Bar& menu)
void Ide::OnlineSearchMenu(Bar& menu)
{
bool b = editor.IsSelection() || IsAlNum(editor.GetChar());
bool b = editor.IsSelection() || IsAlNum(editor.GetChar()) || editor.GetChar() == '_';
menu.Add(b, AK_GOOGLE, IdeImg::Google(),
THISBACK(OnlineSearch));
menu.Add(b, AK_GOOGLEUPP, IdeImg::GoogleUpp(), THISBACK(OnlineSearchOnTheOfficialSite));