Fixed the addon dialog to show the last host again.

Issue spotted by Ivanovic.
This commit is contained in:
Mark de Wever 2010-09-17 19:32:34 +00:00
parent 273c7f7c15
commit 05c410e7ea
2 changed files with 2 additions and 7 deletions

View file

@ -6,6 +6,8 @@ Version 1.9.1+svn:
* Added extra keeps to keep up with the growing number of leaders.
* Language and i18n:
* Updated translations: Indonesian, Russian
* User interface:
* Fixed: Addon dialog in title screen shows last host again.
Version 1.9.1:
* AI:

View file

@ -22,7 +22,6 @@
#include "gettext.hpp"
#include "log.hpp"
#include "gui/auxiliary/timer.hpp"
#include "gui/dialogs/addon_connect.hpp"
#include "gui/dialogs/language_selection.hpp"
#include "gui/widgets/button.hpp"
#include "gui/widgets/label.hpp"
@ -185,12 +184,6 @@ void ttitle_screen::pre_show(CVideo& video, twindow& window)
variant(_("Version") + std::string(" ") + game_config::revision));
/**** Set the buttons ****/
connect_signal_mouse_left_click(
find_widget<tbutton>(&window, "addons", false)
, boost::bind(
show_dialog<gui2::taddon_connect>
, boost::ref(video)));
connect_signal_mouse_left_click(
find_widget<tbutton>(&window, "language", false)
, boost::bind(