mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Extracted event management from GuiHandler and CIntObject
This commit is contained in:
@@ -90,7 +90,7 @@ CSelectionBase::CSelectionBase(ESelectionScreen type)
|
||||
|
||||
void CSelectionBase::toggleTab(std::shared_ptr<CIntObject> tab)
|
||||
{
|
||||
if(curTab && curTab->active)
|
||||
if(curTab && curTab->isActive())
|
||||
{
|
||||
curTab->deactivate();
|
||||
curTab->recActions = 0;
|
||||
|
||||
Reference in New Issue
Block a user