diff options
Diffstat (limited to 'app/Dialer.qml')
-rw-r--r-- | app/Dialer.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Dialer.qml b/app/Dialer.qml index f9c3e27..4720e14 100644 --- a/app/Dialer.qml +++ b/app/Dialer.qml @@ -57,9 +57,9 @@ Item { } signal showContacts - function call(contact) { - name.text = contact.name - var rawNumber = contact.numbers.get(0).number + function call(cname, cnumber) { + name.text = cname + var rawNumber = cnumber number.text = rawNumber.replace(/-/g, '') callButton.checked = true } |