summaryrefslogtreecommitdiffstats
path: root/app/Dialer.qml
diff options
context:
space:
mode:
Diffstat (limited to 'app/Dialer.qml')
-rw-r--r--app/Dialer.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Dialer.qml b/app/Dialer.qml
index 0bf51cf..f9c3e27 100644
--- a/app/Dialer.qml
+++ b/app/Dialer.qml
@@ -59,7 +59,8 @@ Item {
signal showContacts
function call(contact) {
name.text = contact.name
- number.text = contact.number
+ var rawNumber = contact.numbers.get(0).number
+ number.text = rawNumber.replace(/-/g, '')
callButton.checked = true
}