mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Extracted event management from GuiHandler and CIntObject
This commit is contained in:
@@ -972,6 +972,6 @@ std::shared_ptr<CIntObject> CHeroItem::onTabSelected(size_t index)
|
||||
void CHeroItem::onArtChange(int tabIndex)
|
||||
{
|
||||
//redraw item after background change
|
||||
if(active)
|
||||
if(isActive())
|
||||
redraw();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user