Fix [change_theme] requiring a separate action to refresh the UI afterwards
This also makes it so the status panels are updated immediately.
This commit is contained in:
parent
8358ee5762
commit
84fef75235
2 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,9 @@
|
|||
* Fixed: unit halo remained after undoing a recall (issue #3065)
|
||||
* [change_theme] no longer causes a Lua error when theme= is not specified
|
||||
instead of explicitly set to an empty string.
|
||||
* [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.1
|
||||
### Campaigns
|
||||
|
|
|
@ -282,6 +282,7 @@ void display::set_theme(config theme_cfg) {
|
|||
action_buttons_.clear();
|
||||
create_buttons();
|
||||
invalidate_theme();
|
||||
redraw_everything();
|
||||
}
|
||||
|
||||
void display::init_flags() {
|
||||
|
|
Loading…
Add table
Reference in a new issue