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
Kalendar
Commits
32723d6e
Commit
32723d6e
authored
Oct 06, 2022
by
Claudio Cambra
Browse files
Fix delete contact action having unwanted empty dropdown
Signed-off-by:
Claudio Cambra
<
claudio.cambra@gmail.com
>
parent
7d16da26
Pipeline
#243057
passed with stage
in 2 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/contacts/qml/private/DeleteContactAction.qml
View file @
32723d6e
...
...
@@ -12,14 +12,7 @@ Kirigami.Action {
property
string
name
property
var
item
icon.name
:
"
delete
"
text
:
i18nc
(
"
@action:inmenu
"
,
"
Delete contact
"
)
onTriggered
:
{
const
dialog
=
deleteContactConfirmationDialogComponent
.
createObject
(
applicationWindow
())
dialog
.
open
()
}
Component
{
readonly
property
Component
deleteContactConfirmationDialogComponent
:
Component
{
id
:
deleteContactConfirmationDialogComponent
QQC2.Dialog
{
id
:
deleteContactConfirmationDialog
...
...
@@ -66,4 +59,11 @@ Kirigami.Action {
}
}
}
icon.name
:
"
delete
"
text
:
i18nc
(
"
@action:inmenu
"
,
"
Delete contact
"
)
onTriggered
:
{
const
dialog
=
deleteContactConfirmationDialogComponent
.
createObject
(
applicationWindow
())
dialog
.
open
()
}
}
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