mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-21 00:09:58 -05:00
bluetooth menu: stop scanning when closed, fix null warnings
This commit is contained in:
@@ -181,7 +181,10 @@ Item {
|
||||
}
|
||||
}
|
||||
|
||||
onShowBluetoothDialogChanged: if (showBluetoothDialog) bluetoothDialogLoader.active = true;
|
||||
onShowBluetoothDialogChanged: {
|
||||
if (showBluetoothDialog) bluetoothDialogLoader.active = true;
|
||||
else Bluetooth.defaultAdapter.discovering = false;
|
||||
}
|
||||
Loader {
|
||||
id: bluetoothDialogLoader
|
||||
anchors.fill: parent
|
||||
|
||||
Reference in New Issue
Block a user