mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-23 16:11:33 +00:00
Remove redundant code
Already worked around in WindowBase::setVisible
This commit is contained in:
parent
0deda69a27
commit
d53e7f8a3c
2 changed files with 0 additions and 8 deletions
|
@ -152,13 +152,6 @@ namespace MWGui
|
||||||
MWBase::Environment::get().getWindowManager()->setKeyFocusWidget(mCommandLine);
|
MWBase::Environment::get().getWindowManager()->setKeyFocusWidget(mCommandLine);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Console::onClose()
|
|
||||||
{
|
|
||||||
// Apparently, hidden widgets can retain key focus
|
|
||||||
// Remove for MyGUI 3.2.2
|
|
||||||
MWBase::Environment::get().getWindowManager()->setKeyFocusWidget(NULL);
|
|
||||||
}
|
|
||||||
|
|
||||||
void Console::setFont(const std::string &fntName)
|
void Console::setFont(const std::string &fntName)
|
||||||
{
|
{
|
||||||
mHistory->setFontName(fntName);
|
mHistory->setFontName(fntName);
|
||||||
|
|
|
@ -40,7 +40,6 @@ namespace MWGui
|
||||||
Console(int w, int h, bool consoleOnlyScripts);
|
Console(int w, int h, bool consoleOnlyScripts);
|
||||||
|
|
||||||
virtual void onOpen();
|
virtual void onOpen();
|
||||||
virtual void onClose();
|
|
||||||
|
|
||||||
void setFont(const std::string &fntName);
|
void setFont(const std::string &fntName);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue