Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Linus Jahn
kaidan
Commits
ef730d0a
Commit
ef730d0a
authored
Jun 09, 2017
by
Weblate
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
272e62cc
20b99d77
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
src/qml/RosterAddContactSheet.qml
src/qml/RosterAddContactSheet.qml
+10
-1
No files found.
src/qml/RosterAddContactSheet.qml
View file @
ef730d0a
...
...
@@ -24,6 +24,11 @@ import QtQuick.Layouts 1.2
import
org
.
kde
.
kirigami
2.0
as
Kirigami
Kirigami.OverlaySheet
{
function
clearInput
()
{
jidField
.
text
=
""
;
nickField
.
text
=
""
;
}
ColumnLayout
{
Kirigami.Heading
{
text
:
qsTr
(
"
Add new contact
"
)
+
"
"
...
...
@@ -54,7 +59,10 @@ Kirigami.OverlaySheet {
Controls.Button
{
text
:
qsTr
(
"
Cancel
"
)
onClicked
:
close
()
onClicked
:
{
clearInput
();
close
();
}
Layout.fillWidth
:
true
}
...
...
@@ -63,6 +71,7 @@ Kirigami.OverlaySheet {
enabled
:
jidField
.
length
>
0
onClicked
:
{
kaidan
.
rosterController
.
addContact
(
jidField
.
text
,
nickField
.
text
);
clearInput
();
close
();
}
Layout.fillWidth
:
true
...
...
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