From 2fea5d9af23ea0f47629e2f930912f2b756bda23 Mon Sep 17 00:00:00 2001 From: Daniel Pavel Date: Thu, 20 Jun 2013 17:21:58 +0200 Subject: [PATCH] disable the unpair button for peripherals of a Nano receiver --- lib/solaar/ui/window.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/solaar/ui/window.py b/lib/solaar/ui/window.py index 205b9a6a..11344b25 100644 --- a/lib/solaar/ui/window.py +++ b/lib/solaar/ui/window.py @@ -551,6 +551,7 @@ def _update_device_panel(device, panel, buttons, full=False): panel._lux.set_visible(False) buttons._pair.set_visible(False) + buttons._unpair.set_sensitive(device.receiver.unifying_supported) buttons._unpair.set_visible(True) panel.set_visible(True)