summaryrefslogtreecommitdiff
path: root/qml/pages
diff options
context:
space:
mode:
Diffstat (limited to 'qml/pages')
-rw-r--r--qml/pages/MainPage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/qml/pages/MainPage.qml b/qml/pages/MainPage.qml
index 6b2893a..b25ff06 100644
--- a/qml/pages/MainPage.qml
+++ b/qml/pages/MainPage.qml
@@ -56,7 +56,7 @@ Page {
onClicked: {
var dialog = pageStack.push("Sailfish.Bluetooth.BluetoothDevicePickerDialog");
- dialog.selectedDeviceChanged.connect(function() {
+ dialog.onAccepted.connect(function() {
if (dialog.selectedDevice !== "") {
deviceAddress.value = dialog.selectedDevice
}