summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-12-03 08:41:13 +0000
committeralecpl <alec@alec.pl>2011-12-03 08:41:13 +0000
commit73571d3d2657ae214f67055bb0da453d69652f69 (patch)
treeab3f8c3d0dfbbe5169152e1f1e5ae25bdee581e2 /program/steps
parent15f48a2d5fe1da5d7c0223c9041743e20b6a0d43 (diff)
- Reload UI after skin change
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/settings/save_prefs.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/steps/settings/save_prefs.inc b/program/steps/settings/save_prefs.inc
index d917e1157..f5f3e36d3 100644
--- a/program/steps/settings/save_prefs.inc
+++ b/program/steps/settings/save_prefs.inc
@@ -145,6 +145,8 @@ switch ($CURR_SECTION)
// switch skin (if valid, otherwise unset the pref and fall back to default)
if (!$OUTPUT->set_skin($a_user_prefs['skin']))
unset($a_user_prefs['skin']);
+ else if ($RCMAIL->config->get('skin') != $a_user_prefs['skin'])
+ $OUTPUT->command('reload', 500);
// force min size
if ($a_user_prefs['pagesize'] < 1)