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