From 2d3e1b263b48695babe71ce1a416974cb94cb2f1 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Sat, 31 Mar 2007 13:45:52 +0000 Subject: [PATCH] Same fix for remove bar crash --- vradiorec.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/vradiorec.cc b/vradiorec.cc index 6c66303..55d73e2 100644 --- a/vradiorec.cc +++ b/vradiorec.cc @@ -527,5 +527,11 @@ void VRadioRec::removeBar() timers->cancelTimer(this, 2); barShowing = false; rectangle(barRegion, Colour::BLACK); - ViewMan::getInstance()->updateView(this, &barRegion); + + Message* m = new Message(); + m->message = Message::REDRAW; + m->to = ViewMan::getInstance(); + m->from = this; + m->parameter = (ULONG)&barRegion; + Command::getInstance()->postMessageFromOuterSpace(m); } -- 2.39.5