Modify ↓
Ticket #10332 (accepted Patch - Feature)
Opened 15 months ago
Last modified 8 months ago
Enable/Disable a MythUIButtonListItem
| Reported by: | Xavier Hervy <xavier.hervy@…> | Owned by: | stuartm |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.27 |
| Component: | MythTV - User Interface Library | Version: | Master Head |
| Severity: | medium | Keywords: | MythUIButtonListItem |
| Cc: | Ticket locked: | no |
Description
This patch allow to enable/disable a MythUIButtonListItem. It does use 2 new states: disabledactive and disabledinactive This patch is used by mythfrontend setup #10092
Attachments
Change History
Changed 15 months ago by Xavier Hervy <xavier.hervy@…>
- Attachment MythUIButtonListItem_disable.diff added
comment:1 Changed 15 months ago by stuartm
- Status changed from new to accepted
- Milestone changed from unknown to 0.26
comment:2 Changed 15 months ago by Xavier Hervy <xavier.hervy@…>
There is two bugs in this patch which I would need to sort out:
- If the first item is disabled, it still get the focus a the beginning
- If the first item is disabled and the second on is selected, going up produce an index out of range
I wrote this comment as a reminder for myself
Changed 15 months ago by Xavier Hervy <xavier.hervy@…>
- Attachment MythUIButtonListItem_enabled-2012-03-08.diff added
Fix bug spotted by Mark Kendhal
Note: See
TracTickets for help on using
tickets.
