diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2011-12-01 12:31:57 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2011-12-01 12:31:57 +0000 |
commit | bfd86a60cc1e9edd94c219e6e2018e00a672b7ff (patch) | |
tree | 649b7f7163e834bf2e7f40a6e0b4f94413408095 /ColorsPanel.c | |
parent | dfad0afb36df9ac104490454c6472625e3ecbe0c (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.c | 2 |
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]); |