Skip to content

Commit

Permalink
Re #6630. Changed urls for opening help pages from MantidPlot.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Mar 5, 2013
1 parent c286fb8 commit e5064f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/MantidPlot/src/ApplicationWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14608,7 +14608,7 @@ void ApplicationWindow::showalgorithmDescriptions()
{
if (!m_helpWindow)
m_helpWindow = boost::make_shared<HelpWindow>();
m_helpWindow->showURL("qthelp://org.mantidproject/doc/algorithms_index.html");
m_helpWindow->showURL("qthelp://org.mantidproject/doc/html/algorithms_index.html");
}

void ApplicationWindow::showSetupParaview()
Expand All @@ -14634,7 +14634,7 @@ void ApplicationWindow::showmantidplotHelp()
{
if (!m_helpWindow)
m_helpWindow = boost::make_shared<HelpWindow>();
m_helpWindow->showURL("qthelp://org.mantidproject/doc/index.html");
m_helpWindow->showURL("qthelp://org.mantidproject/doc/html/index.html");
}

//
Expand Down
4 changes: 2 additions & 2 deletions Code/Mantid/MantidPlot/src/HelpWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void HelpWindow::showAlgorithm(const string &name, const int version)
// TODO jump to the version within the page
(void)version;

string url(BASEURL + "Algo_" + name + ".html");
string url(BASEURL + "html/Algo_" + name + ".html");
this->showURL(url);
}

Expand All @@ -76,7 +76,7 @@ void HelpWindow::showAlgorithm(const string &name, const int version)
*/
void HelpWindow::showFitFunction(const std::string &name)
{
string url(BASEURL + "FitFunc_" + name + ".html");
string url(BASEURL + "html/FitFunc_" + name + ".html");
}

/**
Expand Down

0 comments on commit e5064f4

Please sign in to comment.