Author: shadowmaster
Date: Thu Nov 10 21:27:30 2011
New Revision: 51946

URL: http://svn.gna.org/viewcvs/wesnoth?rev=51946&view=rev
Log:
Revert r51873, fixing disappearing UI buttons after Display settings changes 
in-game

Modified:
    trunk/changelog
    trunk/players_changelog
    trunk/src/menu_events.cpp

Modified: trunk/changelog
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/changelog?rev=51946&r1=51945&r2=51946&view=diff
==============================================================================
--- trunk/changelog (original)
+++ trunk/changelog Thu Nov 10 21:27:30 2011
@@ -6,6 +6,9 @@
    * Updated translations: British English, Galician, Korean, Latvian
  * WML engine:
    * Added [secondary_unit] SUF for filtering the recalling leader in [recall] 
action WML
+ * Miscellaneous and bug fixes:
+   * Fixed disappearing theme UI buttons after changing fullscreen/windowed 
mode
+     or resolution in Preferences during a game
 
 Version 1.9.10:
  * AI:

Modified: trunk/players_changelog
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/players_changelog?rev=51946&r1=51945&r2=51946&view=diff
==============================================================================
--- trunk/players_changelog (original)
+++ trunk/players_changelog Thu Nov 10 21:27:30 2011
@@ -5,6 +5,10 @@
 Version 1.9.10+svn:
  * Language and i18n:
    * Updated translations: British English, Galician, Korean, Latvian.
+
+ * Miscellaneous and bug fixes:
+   * Fixed disappearing UI buttons after changing windowed/fullscreen mode
+     or display resolution in Preferences during a game.
 
 
 Version 1.9.10:

Modified: trunk/src/menu_events.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/menu_events.cpp?rev=51946&r1=51945&r2=51946&view=diff
==============================================================================
--- trunk/src/menu_events.cpp (original)
+++ trunk/src/menu_events.cpp Thu Nov 10 21:27:30 2011
@@ -627,6 +627,8 @@
 void menu_handler::preferences()
 {
        preferences::show_preferences_dialog(*gui_, game_config_);
+       // Needed after changing fullscreen/windowed mode or display resolution
+       gui_->redraw_everything();
 }
 
 void menu_handler::show_chat_log()


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

Reply via email to