Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM GrantleeTheme
Commits
e42e3c49
Commit
e42e3c49
authored
Sep 16, 2022
by
Laurent Montel
Browse files
Make sure to not removing null action
parent
f8ee1d0c
Pipeline
#233143
passed with stage
in 7 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/grantleethememanager.cpp
View file @
e42e3c49
...
...
@@ -143,7 +143,9 @@ public:
}
if
(
separatorAction
)
{
menu
->
removeAction
(
separatorAction
);
menu
->
removeAction
(
downloadThemesAction
);
if
(
downloadThemesAction
)
{
menu
->
removeAction
(
downloadThemesAction
);
}
}
themesActionList
.
clear
();
}
...
...
@@ -191,7 +193,9 @@ public:
}
if
(
separatorAction
)
{
menu
->
addAction
(
separatorAction
);
menu
->
addAction
(
downloadThemesAction
);
if
(
downloadThemesAction
)
{
menu
->
addAction
(
downloadThemesAction
);
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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