Commit 5f7329ec authored by Shubham  .'s avatar Shubham .
Browse files

Hide Show Backend Help action for Maxima, since we have integrated documentation

parent 2ba6e78e
......@@ -359,6 +359,10 @@ CantorPart::CantorPart( QWidget *parentWidget, QObject *parent, const QVariantLi
collection->addAction(QLatin1String("backend_help"), m_showBackendHelp);
connect(m_showBackendHelp, &QAction::triggered, this, &CantorPart::showBackendHelp);
// Do not display "Show Backend Help" action for Maxima, since we are shwing it's integrated documentation
if(backend->name() == QLatin1String("Maxima"))
m_showBackendHelp->setVisible(false);
// Disabled, because uploading to kde store from program don't work
// See https://phabricator.kde.org/T9980 for details
// If this situation will changed, then uncomment this action
......
......@@ -150,5 +150,5 @@ void DocumentationPanelWidget::unloadDocumentation()
QString DocumentationPanelWidget::backendName() const
{
return m_backend;//m_session->backend()->name();
return m_backend;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment