Mercurial > libervia-desktop
comparison 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 |
comparison
equal
deleted
inserted
replaced
3:accbc3c18762 | 4:440a743b58ee |
---|---|
152 | 152 |
153 | 153 |
154 <ConnectButton>: | 154 <ConnectButton>: |
155 text: "Connect" | 155 text: "Connect" |
156 size_hint: 1, 0.1 | 156 size_hint: 1, 0.1 |
157 disabled: not self.ps.list_adapter.selection | |
157 | 158 |
158 | 159 |
159 <ProfileItem>: | 160 <ProfileItem>: |
160 background_normal: "button_selected.png" if self.is_selected else "button.png" | 161 background_normal: "button_selected.png" if self.is_selected else "button.png" |
161 deselected_color: 1,1,1,1 | 162 deselected_color: 1,1,1,1 |