Skip to content

Commit

Permalink
Fix UI issue
Browse files Browse the repository at this point in the history
  • Loading branch information
marchc1 committed Jan 14, 2025
1 parent 2480eaa commit 27b75ea
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lua/ponder/core/userinterface.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ hook.Add("PopulateMenuBar", "Ponder.PopulateMenuBar.InsertMenuOption", function(
b:SizeToContentsX(16)

function b:DoClick()
Ponder.OpenIndex()
if IsValid(Ponder.UIWindow) then
Ponder.UIWindow:PonderShow()
else
Ponder.OpenIndex()
end
end
end)

0 comments on commit 27b75ea

Please sign in to comment.