Don't attempt to redraw a parent that doesn't exist yet.
parent
ffd4dc26a8
commit
dfe953c6df
|
@ -271,7 +271,8 @@ Track::resize ( void )
|
||||||
else
|
else
|
||||||
controls->show();
|
controls->show();
|
||||||
|
|
||||||
parent()->redraw();
|
if ( parent() )
|
||||||
|
parent()->redraw();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in New Issue