mail[Wesnoth-commits] r36847 - in /trunk: data/gui/default/window/lobby_main.cfg src/gui/dialogs/lobby_main.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by koraq on July 12, 2009 - 18:13:
Author: mordante
Date: Sun Jul 12 18:13:21 2009
New Revision: 36847

URL: http://svn.gna.org/viewcvs/wesnoth?rev=36847&view=rev
Log:
Enable the history for chat_input.

Modified:
    trunk/data/gui/default/window/lobby_main.cfg
    trunk/src/gui/dialogs/lobby_main.cpp

Modified: trunk/data/gui/default/window/lobby_main.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/gui/default/window/lobby_main.cfg?rev=36847&r1=36846&r2=36847&view=diff
==============================================================================
--- trunk/data/gui/default/window/lobby_main.cfg (original)
+++ trunk/data/gui/default/window/lobby_main.cfg Sun Jul 12 18:13:21 2009
@@ -411,6 +411,7 @@
                                                                              
  [text_box]
                                                                              
          id = "chat_input"
                                                                              
          definition = "default"
+                                                                             
          history = "mp_chat_input_history"
                                                                              
          label = ""
                                                                              
  [/text_box]
                                                                        
{HORIZONTAL_SEP}

Modified: trunk/src/gui/dialogs/lobby_main.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/dialogs/lobby_main.cpp?rev=36847&r1=36846&r2=36847&view=diff
==============================================================================
--- trunk/src/gui/dialogs/lobby_main.cpp (original)
+++ trunk/src/gui/dialogs/lobby_main.cpp Sun Jul 12 18:13:21 2009
@@ -733,6 +733,7 @@
                config msg;
                send_message_to_active_window(input);
        }
+       chat_input_->save_to_history();
        chat_input_->set_value("");
 }
 




Related Messages


Powered by MHonArc, Updated Sun Jul 12 18:40:25 2009