tooltips for post and left click search shortcuts

This commit is contained in:
Manuel Simon Hirsig
2016-03-23 01:08:02 +01:00
parent 7b633191bb
commit 4d7c3772ae
6 changed files with 44 additions and 24 deletions
+4 -6
View File
@@ -142,16 +142,14 @@ local methods = {
if this.rt.disabled then return end
if IsControlKeyDown() then
DressUpItemLink(this.row.data.record.hyperlink)
elseif IsShiftKeyDown() then
if ChatFrameEditBox:IsVisible() then
ChatFrameEditBox:Insert(this.row.data.record.hyperlink)
else
Aux.search_frame.start_search(strlower(Aux.info.item(this.row.data.record.item_id).name)..'/exact')
end
elseif IsShiftKeyDown() and ChatFrameEditBox:IsVisible() then
ChatFrameEditBox:Insert(this.row.data.record.hyperlink)
elseif IsAltKeyDown() then
if this.rt.handlers.OnCellAltClick then
this.rt.handlers.OnCellAltClick(this, button)
end
elseif button == 'RightButton' then
Aux.search_frame.start_search(strlower(Aux.info.item(this.row.data.record.item_id).name)..'/exact')
else
this.rt:SetSelectedRecord(this.row.data.record)
end