ModeButton 'selected' should accept -1

Bug #1493173 reported by Artem Anufrij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Footnote
Fix Committed
Medium
Artem Anufrij
Granite
Fix Released
Medium
Artem Anufrij
Metronome
Fix Committed
Medium
Artem Anufrij

Bug Description

currently it's not possible to deactivate all toggle buttons in the class "ModeButton".

It should be possible with:

my_mode_buttons.selected = -1;

Related branches

Revision history for this message
Danielle Foré (danrabbit) wrote :

Can you provide a use case where all modes would be deactivated?

Revision history for this message
Artem Anufrij (artem-anufrij) wrote :

@Dan:
reset selected color-button in footnote (after "clear" was clicked):

Revision history for this message
Danielle Foré (danrabbit) wrote :

Ah okay that makes sense. Confirming then.

Changed in granite:
status: New → Confirmed
Changed in granite:
assignee: nobody → Artem Anufrij (artem-anufrij)
status: Confirmed → In Progress
Changed in granite:
milestone: none → loki-beta1
Cody Garver (codygarver)
Changed in granite:
importance: Undecided → Medium
Revision history for this message
Artem Anufrij (artem-anufrij) wrote :

Hey guys,

could somebody review my branch, please? I need this fix for Footnote and Metronome.

Thank you..!

Changed in metronome:
status: New → In Progress
Changed in footnote:
status: New → In Progress
assignee: nobody → Artem Anufrij (artem-anufrij)
Changed in metronome:
assignee: nobody → Artem Anufrij (artem-anufrij)
Changed in footnote:
importance: Undecided → Low
importance: Low → Medium
Changed in metronome:
importance: Undecided → Medium
Changed in granite:
status: In Progress → Fix Committed
Changed in footnote:
status: In Progress → Fix Committed
Changed in metronome:
status: In Progress → Fix Committed
Changed in granite:
milestone: loki-beta1 → loki-alpha1
Changed in granite:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.