mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix not responding statusbar
This commit is contained in:
@@ -238,3 +238,17 @@ void CWindowObject::clickRight(tribool down, bool previousState)
|
||||
close();
|
||||
CCS->curh->show();
|
||||
}
|
||||
|
||||
CStatusbarWindow::CStatusbarWindow(int options, std::string imageName, Point centerAt) : CWindowObject(options, imageName, centerAt)
|
||||
{
|
||||
}
|
||||
|
||||
CStatusbarWindow::CStatusbarWindow(int options, std::string imageName) : CWindowObject(options, imageName)
|
||||
{
|
||||
}
|
||||
|
||||
void CStatusbarWindow::activate()
|
||||
{
|
||||
CIntObject::activate();
|
||||
GH.statusbar = statusbar;
|
||||
}
|
||||
Reference in New Issue
Block a user