[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src/widgets button.cpp
From: |
Guillaume Melquiond |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src/widgets button.cpp |
Date: |
Sat, 06 Nov 2004 15:59:40 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <address@hidden> 04/11/06 19:06:47
Modified files:
src/widgets : button.cpp
Log message:
Prevent scrollbar crazyness by cleaning buttons on disabling/reenabling.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/widgets/button.cpp.diff?tr1=1.48&tr2=1.49&r1=text&r2=text
Patches:
Index: wesnoth/src/widgets/button.cpp
diff -u wesnoth/src/widgets/button.cpp:1.48 wesnoth/src/widgets/button.cpp:1.49
--- wesnoth/src/widgets/button.cpp:1.48 Sat Nov 6 13:13:16 2004
+++ wesnoth/src/widgets/button.cpp Sat Nov 6 19:06:47 2004
@@ -1,4 +1,4 @@
-/* $Id: button.cpp,v 1.48 2004/11/06 13:13:16 silene Exp $ */
+/* $Id: button.cpp,v 1.49 2004/11/06 19:06:47 silene Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -121,6 +121,8 @@
{
if (enabled_ != new_val) {
enabled_ = new_val;
+ state_ = NORMAL;
+ pressed_ = false;
set_dirty();
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Wesnoth-cvs-commits] wesnoth/src/widgets button.cpp,
Guillaume Melquiond <=