Fix GUI bug
This commit is contained in:
parent
2b56a97b08
commit
aa027bd09c
@ -164,6 +164,12 @@ namespace GUIEngine
|
||||
const video::ITexture* getTexture();
|
||||
// --------------------------------------------------------------------
|
||||
virtual void setVisible(bool visible) OVERRIDE;
|
||||
// --------------------------------------------------------------------
|
||||
virtual void elementRemoved() OVERRIDE
|
||||
{
|
||||
Widget::elementRemoved();
|
||||
m_label = NULL;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -81,7 +81,7 @@ void OnlineScreen::beforeAddingWidget()
|
||||
if (wan)
|
||||
{
|
||||
wan->setActive(is_logged_in);
|
||||
//wan->setVisible(is_logged_in);
|
||||
wan->setVisible(is_logged_in);
|
||||
}
|
||||
} // beforeAddingWidget
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user