Skip to content

Commit

Permalink
fix: fix toolbar refactor fail (#427)
Browse files Browse the repository at this point in the history
fixes #426
  • Loading branch information
tomsci authored Sep 28, 2024
1 parent 25596ee commit 8e57bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/toolbar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ function TBarLatch(butId)
end

if button.flags() & KTbFlgLatched == 0 then
button.flags(button.flags | KTbFlgLatched)
button.flags(button.flags() | KTbFlgLatched)
drawButton(button.id)
end
end
Expand Down

0 comments on commit 8e57bda

Please sign in to comment.