performance improvements

This commit is contained in:
Manuel Simon Hirsig
2016-11-07 03:24:02 +01:00
parent ef1a82675d
commit 55de23654b
19 changed files with 160 additions and 151 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ listing = auction_listing.CreateAuctionResultsTable(frame.listing, auction_listi
listing:SetSort(1, 2, 3, 4, 5, 6, 7, 8)
listing:Reset()
listing:SetHandler('OnCellClick', function(cell, button)
if IsAltKeyDown() and listing:GetSelection().record == cell.row.data.record and cancel_button:IsEnabled() then
if IsAltKeyDown() and listing:GetSelection().record == cell.row.data.record then
cancel_button:Click()
end
end)