Skip to content

Commit

Permalink
Merge pull request #774 from DeviousNull/switch-tab-after-register
Browse files Browse the repository at this point in the history
Switch to the "Login" tab after successful registration.
  • Loading branch information
AntlerForce authored Sep 25, 2024
2 parents 357bfe3 + 27cf747 commit f9ab401
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions LuaMenu/widgets/gui_login_window.lua
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ local function InitializeListeners()
registerRecieved = true
WG.Delay(ResetRegisterRecieved, 0.8)
currentLoginWindow.txtError:SetText(Configuration:GetSuccessColor() .. "Registered!")
if currentLoginWindow.tabPanel then
currentLoginWindow.tabPanel:ChangeTab("login")
end
end
end

Expand Down

0 comments on commit f9ab401

Please sign in to comment.