Mercurial > hg > svgui
diff widgets/ActivityLog.cpp @ 504:d95635d6b82b
* rtmidi & activity updates
author | Chris Cannam |
---|---|
date | Tue, 24 Feb 2009 17:25:55 +0000 |
parents | 133b378d8efe |
children | 299d0ffebb38 |
line wrap: on
line diff
--- a/widgets/ActivityLog.cpp Tue Feb 24 16:44:43 2009 +0000 +++ b/widgets/ActivityLog.cpp Tue Feb 24 17:25:55 2009 +0000 @@ -51,6 +51,6 @@ m_model->insertRows(row, 1); QModelIndex ix = m_model->index(row, 0); m_model->setData(ix, name); - if (m_listView->isVisible()) m_listView->scrollTo(ix); + if (isVisible()) m_listView->scrollTo(ix); }