bl new design
This commit is contained in:
parent
cad9350ff9
commit
b56a1aed14
@ -197,6 +197,13 @@ class BluetoothScreen(QWidget):
|
|||||||
|
|
||||||
self._update_status()
|
self._update_status()
|
||||||
|
|
||||||
|
def _auto_connect_last(self):
|
||||||
|
"""Автоподключение к последнему устройству."""
|
||||||
|
last_mac = self._settings.value("bluetooth/last_mac", "")
|
||||||
|
if not last_mac:
|
||||||
|
return
|
||||||
|
self._connect_device(last_mac)
|
||||||
|
|
||||||
def _connect_last_selected(self):
|
def _connect_last_selected(self):
|
||||||
"""Подключить последнее выбранное устройство."""
|
"""Подключить последнее выбранное устройство."""
|
||||||
if self._cards:
|
if self._cards:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user