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:
parent
9dfa70945c
commit
c9fd6da8b1
@ -1797,6 +1797,7 @@ ARDOUR_UI::load_session (const string & path, const string & snap_name, string*
|
|||||||
Session *new_session;
|
Session *new_session;
|
||||||
int x;
|
int x;
|
||||||
session_loaded = false;
|
session_loaded = false;
|
||||||
|
|
||||||
x = unload_session ();
|
x = unload_session ();
|
||||||
|
|
||||||
if (x < 0) {
|
if (x < 0) {
|
||||||
@ -2406,10 +2407,10 @@ ARDOUR_UI::record_state_changed ()
|
|||||||
|
|
||||||
switch (session->record_status()) {
|
switch (session->record_status()) {
|
||||||
case Session::Recording:
|
case Session::Recording:
|
||||||
big_clock.set_name ("BigClockRecording");
|
big_clock.set_widget_name ("BigClockRecording");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
big_clock.set_name ("BigClockNonRecording");
|
big_clock.set_widget_name ("BigClockNonRecording");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user