mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Replaced clickRight event with showPopupWindow/closePopupWindow
This commit is contained in:
@@ -378,9 +378,9 @@ void CFlagBox::recreate()
|
||||
}
|
||||
}
|
||||
|
||||
void CFlagBox::clickRight(tribool down, bool previousState)
|
||||
void CFlagBox::showPopupWindow()
|
||||
{
|
||||
if(down && SEL->getMapInfo())
|
||||
if(SEL->getMapInfo())
|
||||
GH.windows().createAndPushWindow<CFlagBoxTooltipBox>(iconsTeamFlags);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user