Opened 8 years ago

Closed 2 years ago

#10332 closed Patch - Feature (Fixed)

Enable/Disable a MythUIButtonListItem

Reported by: Xavier Hervy <xavier.hervy@…> Owned by: stuartm
Priority: minor Milestone: 29.0
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 (2)

MythUIButtonListItem_disable.diff (9.4 KB) - added by Xavier Hervy <xavier.hervy@…> 8 years ago.
MythUIButtonListItem_enabled-2012-03-08.diff (10.4 KB) - added by Xavier Hervy <xavier.hervy@…> 8 years ago.
Fix bug spotted by Mark Kendhal

Download all attachments as: .zip

Change History (9)

Changed 8 years ago by Xavier Hervy <xavier.hervy@…>

comment:1 Changed 8 years ago by stuartm

Milestone: unknown0.26
Status: newaccepted

comment:2 Changed 8 years 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 8 years ago by Xavier Hervy <xavier.hervy@…>

Fix bug spotted by Mark Kendhal

comment:3 Changed 7 years ago by Kenni Lund [kenni a kelu dot dk]

Milestone: 0.260.27

comment:4 Changed 6 years ago by paulh

Milestone: 0.270.28

comment:5 Changed 4 years ago by paulh

Milestone: 0.280.29

comment:6 Changed 4 years ago by Stuart Auchterlonie

Milestone: 0.2929.0

Milestone renamed

comment:7 Changed 2 years ago by Jonatan Lindblad

Resolution: Fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.