mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +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
|
|
@ -1673,7 +1673,7 @@ ARDOUR_UI::transport_record (bool roll)
|
||||||
switch (_session->record_status()) {
|
switch (_session->record_status()) {
|
||||||
case Session::Disabled:
|
case Session::Disabled:
|
||||||
if (_session->ntracks() == 0) {
|
if (_session->ntracks() == 0) {
|
||||||
MessageDialog msg (*editor, _("Please create 1 or more track\nbefore trying to record.\nCheck the Session menu."));
|
MessageDialog msg (*editor, _("Please create one or more tracks before trying to record.\nYou can do this with the \"Add Track or Bus\" option in the Session menu."));
|
||||||
msg.run ();
|
msg.run ();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4696,16 +4696,15 @@ Editor::show_rhythm_ferret ()
|
||||||
void
|
void
|
||||||
Editor::first_idle ()
|
Editor::first_idle ()
|
||||||
{
|
{
|
||||||
MessageDialog* dialog = 0;
|
|
||||||
|
|
||||||
if (track_views.size() > 1) {
|
if (track_views.size() > 1) {
|
||||||
dialog = new MessageDialog (*this,
|
MessageDialog* dialog = manage (
|
||||||
string_compose (_("Please wait while %1 loads visual data"), PROGRAM_NAME),
|
new MessageDialog (*this,
|
||||||
true,
|
string_compose (_("Please wait while %1 loads visual data."), PROGRAM_NAME),
|
||||||
Gtk::MESSAGE_INFO,
|
true)
|
||||||
Gtk::BUTTONS_NONE);
|
);
|
||||||
dialog->present ();
|
dialog->present ();
|
||||||
ARDOUR_UI::instance()->flush_pending ();
|
ARDOUR_UI::instance()->flush_pending ();
|
||||||
|
delete dialog;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (TrackViewList::iterator t = track_views.begin(); t != track_views.end(); ++t) {
|
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
|
// first idle adds route children (automation tracks), so we need to redisplay here
|
||||||
_routes->redisplay ();
|
_routes->redisplay ();
|
||||||
|
|
||||||
delete dialog;
|
|
||||||
|
|
||||||
_have_idled = true;
|
_have_idled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue