bugfix for alt shortcuts
This commit is contained in:
@@ -17,7 +17,7 @@ listing = auction_listing.new(frame.listing, 20, auction_listing.auctions_column
|
||||
listing:SetSort(1, 2, 3, 4, 5, 6, 7, 8)
|
||||
listing:Reset()
|
||||
listing:SetHandler('OnClick', function(row, button)
|
||||
if IsAltKeyDown() and listing:GetSelection().record == row.data.record then
|
||||
if IsAltKeyDown() and listing:GetSelection().record == row.record then
|
||||
cancel_button:Click()
|
||||
end
|
||||
end)
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ listing = auction_listing.new(frame.listing, 20, auction_listing.bids_columns)
|
||||
listing:SetSort(1, 2, 3, 4, 5, 6, 7, 8)
|
||||
listing:Reset()
|
||||
listing:SetHandler('OnClick', function(row, button)
|
||||
if IsAltKeyDown() and listing:GetSelection().record == row.data.record then
|
||||
if IsAltKeyDown() and listing:GetSelection().record == row.record then
|
||||
if button == 'LeftButton' then
|
||||
buyout_button:Click()
|
||||
elseif button == 'RightButton' then
|
||||
|
||||
@@ -519,7 +519,7 @@ for _ = 1, 5 do
|
||||
|
||||
local table = auction_listing.new(frame.results, 16, auction_listing.search_columns)
|
||||
table:SetHandler('OnClick', function(row, button)
|
||||
if IsAltKeyDown() and current_search.table:GetSelection().record == row.data.record then
|
||||
if IsAltKeyDown() and current_search.table:GetSelection().record == row.record then
|
||||
if button == 'LeftButton' then
|
||||
buyout_button:Click()
|
||||
elseif button == 'RightButton' then
|
||||
|
||||
Reference in New Issue
Block a user