Merge pull request #26 from a2-4am/master

always set state of activated radio button to 1
This commit is contained in:
blondie7575 2018-04-11 19:45:22 -07:00 committed by GitHub
commit 2305dc31f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -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.