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
Kleopatra
Commits
3b74a8b1
Commit
3b74a8b1
authored
Mar 02, 2021
by
Ingo Klöcker
Browse files
Hide "Groups..." button if group support is disabled
GnuPG-bug-id: 5333
parent
00bf7b28
Pipeline
#52858
passed with stage
in 17 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/dialogs/certificateselectiondialog.cpp
View file @
3b74a8b1
...
...
@@ -11,6 +11,8 @@
#include "certificateselectiondialog.h"
#include "settings.h"
#include "conf/groupsconfigdialog.h"
#include <view/keytreeview.h>
...
...
@@ -146,6 +148,7 @@ private:
QPushButton
*
const
lookupButton
=
ui
.
buttonBox
.
addButton
(
i18n
(
"Lookup..."
),
QDialogButtonBox
::
ActionRole
);
QPushButton
*
const
createButton
=
ui
.
buttonBox
.
addButton
(
i18n
(
"New..."
),
QDialogButtonBox
::
ActionRole
);
QPushButton
*
const
groupsButton
=
ui
.
buttonBox
.
addButton
(
i18n
(
"Groups..."
),
QDialogButtonBox
::
ActionRole
);
groupsButton
->
setVisible
(
Settings
().
groupsEnabled
());
importButton
->
setToolTip
(
i18nc
(
"@info:tooltip"
,
"Import certificate from file"
));
lookupButton
->
setToolTip
(
i18nc
(
"@info:tooltip"
,
"Lookup certificates on server"
));
...
...
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