Author: mordante
Date: Sun Nov 22 20:59:08 2009
New Revision: 39885

URL: http://svn.gna.org/viewcvs/wesnoth?rev=39885&view=rev
Log:
Undraw floating labels when a gui2 dialog closes.

Fixes bug #14816.

Modified:
    trunk/changelog
    trunk/src/gui/widgets/window.cpp

Modified: trunk/changelog
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/changelog?rev=39885&r1=39884&r2=39885&view=diff
==============================================================================
--- trunk/changelog (original)
+++ trunk/changelog Sun Nov 22 20:59:08 2009
@@ -39,6 +39,7 @@
      ago)
  * Miscellaneous and bugfixes:
    * Optimize "Initializing teams" loading phase
+   * Undraw floating labels when a gui2 dialog closes (bug #14816)
 
 Version 1.7.8-beta1:
  * Campaigns:

Modified: trunk/src/gui/widgets/window.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/widgets/window.cpp?rev=39885&r1=39884&r2=39885&view=diff
==============================================================================
--- trunk/src/gui/widgets/window.cpp (original)
+++ trunk/src/gui/widgets/window.cpp Sun Nov 22 20:59:08 2009
@@ -494,6 +494,7 @@
                        SDL_Rect rect = get_rect();
                        SDL_BlitSurface(restorer_, 0, video_.getSurface(), 
&rect);
                        update_rect(get_rect());
+                       font::undraw_floating_labels(video_.getSurface());
                }
                throw;
        }
@@ -505,6 +506,7 @@
                SDL_Rect rect = get_rect();
                SDL_BlitSurface(restorer_, 0, video_.getSurface(), &rect);
                update_rect(get_rect());
+               font::undraw_floating_labels(video_.getSurface());
        }
 
        return retval_;


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to