mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +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()) | ||||
| 		return; | ||||
|  | ||||
| 	if(GH.windows().topWindow<CIntObject>()->isPopupWindow()) | ||||
| 		return; | ||||
|  | ||||
| 	const auto * otherArmy = upg == EGarrisonType::UPPER ? owner->lowerArmy() : owner->upperArmy(); | ||||
|  | ||||
| 	bool stackExists = myStack != nullptr; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user