.ide .editor integrated help is now not show when editor mode is enable. The main reason of this change is that help depends on <meta> that is not avaliable in editor mode.

git-svn-id: svn://ultimatepp.org/upp/trunk@10977 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
klugier 2017-03-27 21:07:38 +00:00
parent e3a397dbf7
commit 2ed409750e

View file

@ -642,8 +642,10 @@ void Ide::BrowseMenu(Bar& menu)
void Ide::HelpMenu(Bar& menu)
{
menu.Add(AK_BROWSETOPICS, IdeImg::help(), THISBACK(ShowTopics));
menu.Add(AK_SEARCHTOPICS, THISBACK(SearchTopics));
if(!IsEditorMode()) {
menu.Add(AK_BROWSETOPICS, IdeImg::help(), THISBACK(ShowTopics));
menu.Add(AK_SEARCHTOPICS, THISBACK(SearchTopics));
}
menu.Add(AK_BROWSETOPICS_WIN, IdeImg::help_win(), THISBACK(ShowTopicsWin));
menu.MenuSeparator();
menu.AddMenu("Get help / report bugs..", IdeImg::Go_forward(), callback1(LaunchWebBrowser, "http://www.ultimatepp.org/forums"));
@ -716,7 +718,6 @@ void Ide::MainTool(Bar& bar)
}
bar.Separator();
}
HelpMenu(bar);
}