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
Kleopatra
Commits
f34108b5
Commit
f34108b5
authored
Jul 21, 2022
by
Ingo Klöcker
Browse files
Make name input field a buddy of its label
GnuPG-bug-id: 6095
parent
db7873ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dialogs/editgroupdialog.cpp
View file @
f34108b5
...
...
@@ -76,11 +76,15 @@ public:
{
auto
mainLayout
=
new
QVBoxLayout
(
q
);
{
auto
groupNameLayout
=
new
QHBoxLayout
();
groupNameLayout
->
addWidget
(
new
QLabel
(
i18nc
(
"Name of a group of keys"
,
"Name:"
),
q
));
auto
label
=
new
QLabel
(
i18nc
(
"Name of a group of keys"
,
"Name:"
),
q
);
groupNameLayout
->
addWidget
(
label
);
ui
.
groupNameEdit
=
new
QLineEdit
(
q
);
label
->
setBuddy
(
ui
.
groupNameEdit
);
groupNameLayout
->
addWidget
(
ui
.
groupNameEdit
);
mainLayout
->
addLayout
(
groupNameLayout
);
}
mainLayout
->
addWidget
(
new
KSeparator
(
Qt
::
Horizontal
,
q
));
...
...
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