From 209ad857dbf42a3f4734cc0984d692206cda666a Mon Sep 17 00:00:00 2001 From: jsiegle <jsiegle@mit.edu> Date: Tue, 28 Jan 2014 18:27:16 -0500 Subject: [PATCH] Activate link to wiki in help menu --- Source/UI/UIComponent.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/UI/UIComponent.cpp b/Source/UI/UIComponent.cpp index 71289171a..b511cbc41 100755 --- a/Source/UI/UIComponent.cpp +++ b/Source/UI/UIComponent.cpp @@ -425,8 +425,8 @@ void UIComponent::getCommandInfo(CommandID commandID, ApplicationCommandInfo& re break; case showHelp: - result.setInfo("Show help...", "Show some freakin' help.", "General", 0); - result.setActive(false); + result.setInfo("Show help...", "Take me to the GUI wiki.", "General", 0); + result.setActive(true); break; case resizeWindow: @@ -499,9 +499,11 @@ bool UIComponent::perform(const InvocationInfo& info) } case showHelp: + { URL url = URL("https://open-ephys.atlassian.net/wiki/display/OEW/Open+Ephys+GUI"); url.launchInDefaultBrowser(); break; + } case toggleProcessorList: processorList->toggleState(); -- GitLab