mirror of
https://github.com/clockworkpi/launcher.git
synced 2026-03-29 16:22:38 +02:00
...
This commit is contained in:
@@ -611,6 +611,11 @@ class BluetoothPage(Page):
|
|||||||
|
|
||||||
if event.key == CurKeys["A"] or event.key == CurKeys["Menu"]:
|
if event.key == CurKeys["A"] or event.key == CurKeys["Menu"]:
|
||||||
if self._Adapter != None:
|
if self._Adapter != None:
|
||||||
|
try:
|
||||||
|
self._Adapter.StopDiscovery()
|
||||||
|
except Exception,e:
|
||||||
|
print(str(e))
|
||||||
|
|
||||||
_connecting = self.CheckIfBluetoothConnecting()
|
_connecting = self.CheckIfBluetoothConnecting()
|
||||||
if _connecting:
|
if _connecting:
|
||||||
self.ShutDownConnecting()
|
self.ShutDownConnecting()
|
||||||
|
|||||||
Reference in New Issue
Block a user