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
Utilities
Kate
Commits
b6cdf096
Commit
b6cdf096
authored
Jan 18, 2021
by
Christoph Cullmann
🐮
Browse files
filter out menus, we can't trigger them in the dialog
parent
ddef496c
Changes
1
Hide whitespace changes
Inline
Side-by-side
kate/katecommandbar.cpp
View file @
b6cdf096
...
...
@@ -174,6 +174,10 @@ void KateCommandBar::updateBar(QList<KActionCollection *> actionCollections)
QVector
<
QPair
<
QString
,
QAction
*>>
actionList
;
for
(
const
auto
collection
:
actionCollections
)
{
for
(
const
auto
action
:
collection
->
actions
())
{
// filter out stuff one can not really trigger
if
(
action
->
menu
())
continue
;
actionList
.
append
({
collection
->
componentDisplayName
(),
action
});
}
}
...
...
Christoph Cullmann
🐮
@cullmann
mentioned in merge request
!179 (merged)
·
Jan 18, 2021
mentioned in merge request
!179 (merged)
mentioned in merge request !179
Toggle commit list
Write
Preview
Supports
Markdown
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