Skip to content

Commit

Permalink
Radiogroup not working properly
Browse files Browse the repository at this point in the history
  • Loading branch information
britzl committed Jan 20, 2018
1 parent b373370 commit 7da6449
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gooey/gooey.lua
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ function M.radiogroup(group_id, action_id, action, fn)
local selected_radio
local group_key = to_key(group_id)
for _,radio in pairs(radiobuttons) do
radio = radio.data
if radio.group == group_key then
if radio.selected_now then
selected_radio = radio
Expand Down

0 comments on commit 7da6449

Please sign in to comment.