Author: shadowmaster
Date: Thu Oct 27 08:09:06 2011
New Revision: 51672
URL: http://svn.gna.org/viewcvs/wesnoth?rev=51672&view=rev
Log:
gui2/teditor_settings: Disable sliders on pre_show when custom lighting isn't
in use
Sliders are normally disabled when custom lighting is, when the dialog
is running. A missing function call solves the pre_show inconsistency.
Modified:
trunk/src/gui/dialogs/editor_settings.cpp
Modified: trunk/src/gui/dialogs/editor_settings.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/dialogs/editor_settings.cpp?rev=51672&r1=51671&r2=51672&view=diff
==============================================================================
--- trunk/src/gui/dialogs/editor_settings.cpp (original)
+++ trunk/src/gui/dialogs/editor_settings.cpp Thu Oct 27 08:09:06 2011
@@ -234,6 +234,7 @@
if (tod.red == r && tod.green == g && tod.blue == b) {
current_tod_ = i;
custom_tod_toggle_->set_value(false);
+ update_selected_tod_info(window);
return;
}
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits