Skip to content

Commit

Permalink
fix: Fix a lua error if receiving many item notifications in quick su…
Browse files Browse the repository at this point in the history
…ccession
  • Loading branch information
ValentinFunk committed Jan 14, 2018
1 parent 4a04911 commit f6a446a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ function PANEL:SetItem( item )
self.infoPnl:Dock( TOP )
self.infoPnl.Paint = function( ) end
function self.infoPnl:PerformLayout( )
self.desc:DockMargin( self.icon:GetWide() + 10, 5, 0, 5 )
if IsValid(self.desc) then
self.desc:DockMargin( self.icon:GetWide() + 10, 5, 0, 5 )
end

self:SizeToChildren( false, true )
end

Expand Down

0 comments on commit f6a446a

Please sign in to comment.