diff src/profile_manager.kv @ 4:440a743b58ee

Profile manager: Connect button is disabled when no profile is selected
author Goffi <goffi@goffi.org>
date Thu, 07 Jul 2016 09:39:21 +0200
parents 8f9ed634a5eb
children 33b619506832
line wrap: on
line diff
--- a/src/profile_manager.kv	Thu Jul 07 09:39:21 2016 +0200
+++ b/src/profile_manager.kv	Thu Jul 07 09:39:21 2016 +0200
@@ -154,6 +154,7 @@
 <ConnectButton>:
     text: "Connect"
     size_hint: 1, 0.1
+    disabled: not self.ps.list_adapter.selection
 
 
 <ProfileItem>: