From 5826a293ad7c42bf65d7532c86f9d665af927db6 Mon Sep 17 00:00:00 2001 From: notiant <238434866+notiant@users.noreply.github.com> Date: Thu, 16 Apr 2026 11:58:44 +0200 Subject: [PATCH] disable Bluetooth toggle when Bluetooth is blocked --- Modules/Panels/Settings/Tabs/Connections/BluetoothSubTab.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Panels/Settings/Tabs/Connections/BluetoothSubTab.qml b/Modules/Panels/Settings/Tabs/Connections/BluetoothSubTab.qml index ce398f711..ee26af647 100644 --- a/Modules/Panels/Settings/Tabs/Connections/BluetoothSubTab.qml +++ b/Modules/Panels/Settings/Tabs/Connections/BluetoothSubTab.qml @@ -161,7 +161,7 @@ Item { label: I18n.tr("common.bluetooth") icon: BluetoothService.enabled ? "bluetooth" : "bluetooth-off" checked: BluetoothService.enabled - enabled: !NetworkService.airplaneModeEnabled && BluetoothService.bluetoothAvailable + enabled: !NetworkService.airplaneModeEnabled && BluetoothService.bluetoothAvailable && !BluetoothService.blocked onToggled: checked => BluetoothService.setBluetoothEnabled(checked) Layout.alignment: Qt.AlignVCenter }