Author: mordante
Date: Sun May 13 20:03:56 2012
New Revision: 54174
URL: http://svn.gna.org/viewcvs/wesnoth?rev=54174&view=rev
Log:
Temporary disable r54170.
the_new_lipk discovered an issue when trying to remove and addon caused
by this commit. Needs more investigation but I don't have time at the
moment. So restore its previous behaviour and look for a proper fix
later.
Modified:
trunk/src/gui/widgets/grid.cpp
Modified: trunk/src/gui/widgets/grid.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/grid.cpp?rev=54174&r1=54173&r2=54174&view=diff
==============================================================================
--- trunk/src/gui/widgets/grid.cpp (original)
+++ trunk/src/gui/widgets/grid.cpp Sun May 13 20:03:56 2012
@@ -628,7 +628,7 @@
bool tgrid::has_widget(const twidget* widget) const
{
foreach(const tchild& child, children_) {
- if(child.widget()->has_widget(widget)) {
+ if(child.widget() == /*->has_widget*/(widget)) {
return true;
}
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits