diff options
author | ShadowNinja <shadowninja@minetest.net> | 2016-03-12 11:58:02 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2016-03-12 12:01:40 -0500 |
commit | 8c951cae5bcfa715e227d47d122cc2de45d70a63 (patch) | |
tree | 5d7928b7cd2c649de2c972553961659273a07191 /src/guiChatConsole.h | |
parent | 20312fda18cb93b85e26d39a5b7386d7f7be9148 (diff) | |
download | hax-minetest-server-8c951cae5bcfa715e227d47d122cc2de45d70a63.tar.gz hax-minetest-server-8c951cae5bcfa715e227d47d122cc2de45d70a63.zip |
Fix chat console not opening after formspec opened over it
The MainMenuManager set the console invisible when a
formspec opened over it, but didn't properly close it,
and the chat console never set itself visible again.
Diffstat (limited to '')
-rw-r--r-- | src/guiChatConsole.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/guiChatConsole.h b/src/guiChatConsole.h index fe595f284..3013a1d31 100644 --- a/src/guiChatConsole.h +++ b/src/guiChatConsole.h @@ -77,6 +77,8 @@ public: virtual bool OnEvent(const SEvent& event); + virtual void setVisible(bool visible); + private: void reformatConsole(); void recalculateConsolePosition(); |