13
0

use AudioClock::set_widget_name() for rec status in big clock, not set_name(), to solve BUG #1411

git-svn-id: svn://localhost/ardour2/trunk@1295 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2007-01-10 04:01:27 +00:00
parent 9dfa70945c
commit c9fd6da8b1

View File

@ -1797,6 +1797,7 @@ ARDOUR_UI::load_session (const string & path, const string & snap_name, string*
Session *new_session;
int x;
session_loaded = false;
x = unload_session ();
if (x < 0) {
@ -2406,10 +2407,10 @@ ARDOUR_UI::record_state_changed ()
switch (session->record_status()) {
case Session::Recording:
big_clock.set_name ("BigClockRecording");
big_clock.set_widget_name ("BigClockRecording");
break;
default:
big_clock.set_name ("BigClockNonRecording");
big_clock.set_widget_name ("BigClockNonRecording");
break;
}
}