mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Tidy a couple of minor things up.
git-svn-id: svn://localhost/ardour2/branches/3.0@10607 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
c56e8c2b20
commit
b426e7d5e4
2 changed files with 7 additions and 10 deletions
|
|
@ -4696,16 +4696,15 @@ Editor::show_rhythm_ferret ()
|
|||
void
|
||||
Editor::first_idle ()
|
||||
{
|
||||
MessageDialog* dialog = 0;
|
||||
|
||||
if (track_views.size() > 1) {
|
||||
dialog = new MessageDialog (*this,
|
||||
string_compose (_("Please wait while %1 loads visual data"), PROGRAM_NAME),
|
||||
true,
|
||||
Gtk::MESSAGE_INFO,
|
||||
Gtk::BUTTONS_NONE);
|
||||
MessageDialog* dialog = manage (
|
||||
new MessageDialog (*this,
|
||||
string_compose (_("Please wait while %1 loads visual data."), PROGRAM_NAME),
|
||||
true)
|
||||
);
|
||||
dialog->present ();
|
||||
ARDOUR_UI::instance()->flush_pending ();
|
||||
delete dialog;
|
||||
}
|
||||
|
||||
for (TrackViewList::iterator t = track_views.begin(); t != track_views.end(); ++t) {
|
||||
|
|
@ -4715,8 +4714,6 @@ Editor::first_idle ()
|
|||
// first idle adds route children (automation tracks), so we need to redisplay here
|
||||
_routes->redisplay ();
|
||||
|
||||
delete dialog;
|
||||
|
||||
_have_idled = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue