always set state of activated radio button to 1

This commit is contained in:
4am 2018-04-11 19:14:27 -04:00
parent 3ee5a55b25
commit c95837c15b
2 changed files with 5 additions and 2 deletions

View File

@ -1028,11 +1028,14 @@ WGViewFocusAction_toggleRadioLoopNext:
dec dec
bpl WGViewFocusAction_toggleRadioLoop bpl WGViewFocusAction_toggleRadioLoop
LDY_FOCUSVIEW LDY_FOCUSVIEW
; execution falls through here lda WG_VIEWRECORDS+9,y ; Set the radio button's state and redraw
ora #%00000001
bra WGViewFocusAction_setStateAndRedraw
WGViewFocusAction_toggleCheckbox: WGViewFocusAction_toggleCheckbox:
lda WG_VIEWRECORDS+9,y ; Change the checkbox's state and redraw lda WG_VIEWRECORDS+9,y ; Toggle the checkbox's state and redraw
eor #%00000001 eor #%00000001
WGViewFocusAction_setStateAndRedraw:
sta WG_VIEWRECORDS+9,y sta WG_VIEWRECORDS+9,y
lda WG_FOCUSVIEW lda WG_FOCUSVIEW
jsr WGSelectView jsr WGSelectView

Binary file not shown.