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
PIM
PIM Messagelib
Commits
5d5d6873
Commit
5d5d6873
authored
May 28, 2021
by
Laurent Montel
😁
Browse files
Fix load menu
parent
d8d28306
Pipeline
#63340
passed with stage
in 40 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
messagelist/src/core/widgets/filtersavedmenu.cpp
View file @
5d5d6873
...
...
@@ -27,9 +27,16 @@ FilterSavedMenu::~FilterSavedMenu()
void
FilterSavedMenu
::
slotShowMenu
()
{
for
(
auto
act
:
qAsConst
(
mListAction
))
{
removeAction
(
act
);
}
qDeleteAll
(
mListAction
);
mListAction
.
clear
();
removeAction
(
mSaveAction
);
removeAction
(
mConfigureAction
);
clear
();
FilterSavedManager
::
self
()
->
loadMenu
(
this
);
if
(
isEmpty
())
{
if
(
!
isEmpty
())
{
addSeparator
();
}
addAction
(
mSaveAction
);
...
...
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