[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src/widgets combo.cpp
From: |
Guillaume Melquiond |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src/widgets combo.cpp |
Date: |
Sun, 31 Oct 2004 17:29:16 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <address@hidden> 04/10/31 22:23:43
Modified files:
src/widgets : combo.cpp
Log message:
When selecting faction, the leader should get visibly modified. Do it
by deselecting on option list change.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/widgets/combo.cpp.diff?tr1=1.23&tr2=1.24&r1=text&r2=text
Patches:
Index: wesnoth/src/widgets/combo.cpp
diff -u wesnoth/src/widgets/combo.cpp:1.23 wesnoth/src/widgets/combo.cpp:1.24
--- wesnoth/src/widgets/combo.cpp:1.23 Sun Oct 31 20:50:13 2004
+++ wesnoth/src/widgets/combo.cpp Sun Oct 31 22:23:43 2004
@@ -1,4 +1,4 @@
-/* $Id: combo.cpp,v 1.23 2004/10/31 20:50:13 silene Exp $ */
+/* $Id: combo.cpp,v 1.24 2004/10/31 22:23:43 silene Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -45,6 +45,7 @@
void combo::set_items(const std::vector<std::string>& items)
{
items_ = items;
+ selected_ = -1;
}
void combo::set_selected(int val)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Wesnoth-cvs-commits] wesnoth/src/widgets combo.cpp,
Guillaume Melquiond <=