aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Noir <Varsash@gmail.com>2022-02-18 18:27:56 +0300
committerAlex Noir <Varsash@gmail.com>2022-02-18 18:27:56 +0300
commit737d581b731b5fe1d5e5b38844931f5a22243a20 (patch)
treeda4de71d5fb39757dc0d96b964f514598afd960f
parente6f06d8959ff65be11b20dcba27977f8935bb044 (diff)
Fix backgrounds getting messed up, closes #635
-rw-r--r--src/courtroom.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index 3fb691e9..d04a36d8 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -657,6 +657,10 @@ void Courtroom::set_widgets()
// them.
ui_settings->show();
+ // make the BG's reload
+ ui_vp_background->kill();
+ ui_vp_desk->kill();
+
ui_vp_background->move_and_center(0, 0);
ui_vp_background->combo_resize(ui_viewport->width(), ui_viewport->height());