alt-click bugfix

This commit is contained in:
Manuel Simon Hirsig
2016-12-26 15:09:36 +01:00
parent 8f44a99f27
commit 2b9830e0bf
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -518,8 +518,8 @@ for _ = 1, 5 do
tinsert(status_bars, status_bar)
local table = auction_listing.new(frame.results, 16, auction_listing.search_columns)
table:SetHandler('OnCellClick', function(cell, button)
if IsAltKeyDown() and current_search.table:GetSelection().record == cell.row.data.record then
table:SetHandler('OnClick', function(row, button)
if IsAltKeyDown() and current_search.table:GetSelection().record == row.data.record then
if button == 'LeftButton' then
buyout_button:Click()
elseif button == 'RightButton' then