mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Fix cursor visibility on closing popup
This commit is contained in:
@@ -75,7 +75,11 @@ CWindowObject::CWindowObject(int options_, std::string imageName):
|
||||
setShadow(true);
|
||||
}
|
||||
|
||||
CWindowObject::~CWindowObject() = default;
|
||||
CWindowObject::~CWindowObject()
|
||||
{
|
||||
if(options & RCLICK_POPUP)
|
||||
CCS->curh->show();
|
||||
}
|
||||
|
||||
std::shared_ptr<CPicture> CWindowObject::createBg(std::string imageName, bool playerColored)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user