summaryrefslogtreecommitdiffstats
path: root/ColorsPanel.c
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2011-12-01 12:31:57 +0000
committerHisham Muhammad <hisham@gobolinux.org>2011-12-01 12:31:57 +0000
commitbfd86a60cc1e9edd94c219e6e2018e00a672b7ff (patch)
tree649b7f7163e834bf2e7f40a6e0b4f94413408095 /ColorsPanel.c
parentdfad0afb36df9ac104490454c6472625e3ecbe0c (diff)
Keep panel structure up-to-date as process list changes when headers are updated during the screen manager. Hopefully closes #3444533.
Diffstat (limited to 'ColorsPanel.c')
-rw-r--r--ColorsPanel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ColorsPanel.c b/ColorsPanel.c
index 5e58670c..b4ee5f29 100644
--- a/ColorsPanel.c
+++ b/ColorsPanel.c
@@ -67,7 +67,7 @@ static HandlerResult ColorsPanel_EventHandler(Panel* super, int ch) {
this->settings->changed = true;
Header* header = this->settings->header;
CRT_setColors(mark);
- Panel* menu = (Panel*) Vector_get(this->scr->items, 0);
+ Panel* menu = (Panel*) Vector_get(this->scr->panels, 0);
Header_draw(header);
RichString_setAttr(&(super->header), CRT_colors[PANEL_HEADER_FOCUS]);
RichString_setAttr(&(menu->header), CRT_colors[PANEL_HEADER_UNFOCUS]);

© 2014-2024 Faster IT GmbH | imprint | privacy policy