1
0
mirror of https://github.com/blondie7575/WeeGUI.git synced 2025-04-28 16:37:17 +00:00

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

@ -1028,11 +1028,14 @@ WGViewFocusAction_toggleRadioLoopNext:
dec
bpl WGViewFocusAction_toggleRadioLoop
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:
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
WGViewFocusAction_setStateAndRedraw:
sta WG_VIEWRECORDS+9,y
lda WG_FOCUSVIEW
jsr WGSelectView

Binary file not shown.