Skip to content

Commit

Permalink
Fix View Request menu duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
github-is-garbage committed Dec 10, 2024
1 parent bfa0642 commit 6e6e24a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/wire/client/e2_viewrequest_menu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ end)
list.Set("DesktopWindows", "WireExpression2_ViewRequestMenu", {
title = "View Requests",
icon = "beer/wiremod/gate_e2", -- Use whatever icon you want here, I just picked my favourite out of the available E2 ones
onewindow = true,

init = function(icon, window)
window:SetTitle("Expression 2 View Requests")

Expand All @@ -40,7 +42,6 @@ list.Set("DesktopWindows", "WireExpression2_ViewRequestMenu", {
window:SetMinHeight(ScrH() * 0.2)

window:Center()
window:MakePopup()

local reqList = vgui.Create("DListView", window)
reqList:Dock(FILL)
Expand Down

0 comments on commit 6e6e24a

Please sign in to comment.