diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-02-21 21:45:40 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-02-21 21:45:40 +0000 |
commit | 0c1ee94d5d9948353919657c4c7479218b7c4361 (patch) | |
tree | 3543b0c85d130c1665dff08eb05a39c75ea7c0cb /gtk2_ardour/audio_time_axis.cc | |
parent | 9961984c9b09c0b99a170ba5bb1eff93e090c011 (diff) |
fix first_idle idea so that tracks added after session loading show up OK
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3104 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_time_axis.cc')
-rw-r--r-- | gtk2_ardour/audio_time_axis.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc index f451fdc514..e537165508 100644 --- a/gtk2_ardour/audio_time_axis.cc +++ b/gtk2_ardour/audio_time_axis.cc @@ -113,7 +113,12 @@ AudioTimeAxisView::AudioTimeAxisView (PublicEditor& ed, Session& sess, boost::sh /* ask for notifications of any new RegionViews */ _view->RegionViewAdded.connect (mem_fun(*this, &AudioTimeAxisView::region_view_added)); - /* first idle will do the rest */ + + if (!editor.have_idled()) { + /* first idle will do the rest */ + } else { + first_idle (); + } } else { post_construct (); |