mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 07:23:34 +00:00
Fix [change_theme] requiring a separate action to refresh the UI afterwards
This also makes it so the status panels are updated immediately. (cherry picked from commit 84fef752351212c83c7a7e74866d2407eafc100c)
This commit is contained in:
parent
9e8db93893
commit
8033e252d4
@ -54,6 +54,9 @@
|
||||
### Miscellaneous and bug fixes
|
||||
* Rest healing now happens on turn 2. (issue #3562)
|
||||
* Normal healing now happens on turn 1 for all sides except the first. (issue #3562)
|
||||
* [change_theme] no longer requires running a separate action to update the
|
||||
UI afterwards (e.g. [redraw]) and the status panels are updated immediately.
|
||||
as well.
|
||||
|
||||
## Version 1.14.5+dev
|
||||
### Campaigns
|
||||
|
@ -266,6 +266,7 @@ void display::set_theme(config theme_cfg) {
|
||||
action_buttons_.clear();
|
||||
create_buttons();
|
||||
invalidate_theme();
|
||||
redraw_everything();
|
||||
}
|
||||
|
||||
void display::init_flags() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user