mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Replaced clickRight event with showPopupWindow/closePopupWindow
This commit is contained in:
@@ -40,10 +40,9 @@ CList::CListItem::CListItem(CList * Parent)
|
||||
|
||||
CList::CListItem::~CListItem() = default;
|
||||
|
||||
void CList::CListItem::clickRight(tribool down, bool previousState)
|
||||
void CList::CListItem::showPopupWindow()
|
||||
{
|
||||
if (down == true)
|
||||
showTooltip();
|
||||
showTooltip();
|
||||
}
|
||||
|
||||
void CList::CListItem::clickLeft(tribool down, bool previousState)
|
||||
|
||||
Reference in New Issue
Block a user