mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Renamed RCLICK -> SHOW_POPUP
This commit is contained in:
@@ -236,7 +236,7 @@ CButton::CButton(Point position, const std::string &defName, const std::pair<std
|
||||
callback(Callback)
|
||||
{
|
||||
defActions = 255-DISPOSE;
|
||||
addUsedEvents(LCLICK | RCLICK | HOVER | KEYBOARD);
|
||||
addUsedEvents(LCLICK | SHOW_POPUP | HOVER | KEYBOARD);
|
||||
|
||||
stateToIndex[0] = 0;
|
||||
stateToIndex[1] = 1;
|
||||
|
||||
Reference in New Issue
Block a user