Skip to content

Commit

Permalink
Fix [change_theme] requiring a separate action to refresh the UI afte…
Browse files Browse the repository at this point in the history
…rwards

This also makes it so the status panels are updated immediately.

(cherry picked from commit 84fef75)
  • Loading branch information
irydacea authored and jostephd committed Nov 3, 2018
1 parent 9e8db93 commit 8033e25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changelog.md
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/display.cpp
Expand Up @@ -266,6 +266,7 @@ void display::set_theme(config theme_cfg) {
action_buttons_.clear();
create_buttons();
invalidate_theme();
redraw_everything();
}

void display::init_flags() {
Expand Down

0 comments on commit 8033e25

Please sign in to comment.