Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Cantor
Commits
5f7329ec
Commit
5f7329ec
authored
Jul 02, 2020
by
Shubham .
Browse files
Hide Show Backend Help action for Maxima, since we have integrated documentation
parent
2ba6e78e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/cantor_part.cpp
View file @
5f7329ec
...
...
@@ -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
...
...
src/panelplugins/documentationpanel/documentationpanelwidget.cpp
View file @
5f7329ec
...
...
@@ -150,5 +150,5 @@ void DocumentationPanelWidget::unloadDocumentation()
QString
DocumentationPanelWidget
::
backendName
()
const
{
return
m_backend
;
//m_session->backend()->name();
return
m_backend
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment