Fix crash that I introduced with a recent bug fix.

git-svn-id: svn://localhost/ardour2/branches/3.0@6281 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington
2009-12-04 18:13:25 +00:00
parent 12c9728530
commit 681e7baa89

View File

@@ -970,6 +970,10 @@ TimeAxisViewItem::set_y (double y)
void
TimeAxisViewItem::update_name_pixbuf_visibility ()
{
if (!name_pixbuf) {
return;
}
if (wide_enough_for_name && high_enough_for_name) {
name_pixbuf->show ();
} else {