From 22c1d82e675c6ff9d2dd848cce1f94b57c0f18cc Mon Sep 17 00:00:00 2001 From: cosmosninja Date: Sat, 19 Jan 2008 21:55:17 +0000 Subject: [PATCH] Made the warning message widget non-selectable. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1407 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/gui/main_menu.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/main_menu.cpp b/src/gui/main_menu.cpp index 7e4935461..93908d62a 100644 --- a/src/gui/main_menu.cpp +++ b/src/gui/main_menu.cpp @@ -79,6 +79,7 @@ MainMenu::MainMenu() widget_manager->addWgt( WTOK_WARNING, 80, 8 ); widget_manager->setWgtText( WTOK_WARNING, user_config->getWarning().c_str() ); widget_manager->setWgtTextSize( WTOK_WARNING, WGT_FNT_SML ); + widget_manager->deactivateWgt(WTOK_WARNING); widget_manager->hideWgtRect(WTOK_WARNING); }