mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-10 22:31:40 +02:00
fix popup
This commit is contained in:
@@ -370,6 +370,9 @@ void CGarrisonSlot::gesture(bool on, const Point & initialPosition, const Point
|
|||||||
if (!settings["input"]["radialWheelGarrisonSwipe"].Bool())
|
if (!settings["input"]["radialWheelGarrisonSwipe"].Bool())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
if(GH.windows().topWindow<CIntObject>()->isPopupWindow())
|
||||||
|
return;
|
||||||
|
|
||||||
const auto * otherArmy = upg == EGarrisonType::UPPER ? owner->lowerArmy() : owner->upperArmy();
|
const auto * otherArmy = upg == EGarrisonType::UPPER ? owner->lowerArmy() : owner->upperArmy();
|
||||||
|
|
||||||
bool stackExists = myStack != nullptr;
|
bool stackExists = myStack != nullptr;
|
||||||
|
Reference in New Issue
Block a user