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
0834c093
Commit
0834c093
authored
May 30, 2021
by
Alexander Semke
Browse files
Fixed the build failure caused by the previous merge commit.
parent
d6a2d5bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/commandentry.cpp
View file @
0834c093
...
...
@@ -337,6 +337,11 @@ void CommandEntry::populateMenu(QMenu* menu, QPointF pos)
}
QAction
*
action
=
new
QAction
(
QIcon
::
fromTheme
(
QLatin1String
(
"help-hint"
)),
i18n
(
"Show Help"
));
connect
(
action
,
&
QAction
::
triggered
,
this
,
&
CommandEntry
::
showHelp
);
menu
->
addAction
(
action
);
menu
->
addSeparator
();
QAction
*
enabledAction
=
new
QAction
(
QIcon
::
fromTheme
(
QLatin1String
(
"checkmark"
)),
i18n
(
"Enabled"
));
enabledAction
->
setCheckable
(
true
);
enabledAction
->
setChecked
(
m_isExecutionEnabled
);
...
...
src/commandentry.h
View file @
0834c093
...
...
@@ -164,6 +164,7 @@ class CommandEntry : public WorksheetEntry
void
updateCompletions
();
void
completeCommandTo
(
const
QString
&
completion
,
CommandEntry
::
CompletionMode
mode
=
PreliminaryCompletion
);
void
changeResultCollapsingAction
();
void
showHelp
();
void
toggleEnabled
();
void
backgroundColorChanged
(
QAction
*
);
...
...
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