try that one on for size (VST build fu)
[ardour.git] / gtk2_ardour / ardour_ui_dialogs.cc
index fe5963c53572f5557afa9f5931bc1755ec350b41..e467b2e2327e13152f7636f1a03b569bd416190f 100644 (file)
@@ -50,6 +50,7 @@ ARDOUR_UI::connect_to_session (Session *s)
        session = s;
 
        session->HaltOnXrun.connect (mem_fun(*this, &ARDOUR_UI::halt_on_xrun_message));
+       session->RecordStateChanged.connect (mem_fun (*this, &ARDOUR_UI::record_state_changed));
 
        /* sensitize menu bar options that are now valid */