Don't use a timer to update panner-UIs, rely on Changed signal

This commit is contained in:
Robin Gareus 2017-12-31 18:14:24 +01:00
parent 9fc68378c6
commit cb43d6a38a
2 changed files with 0 additions and 9 deletions

View File

@ -535,14 +535,6 @@ PannerUI::pan_automation_state_changed ()
} }
update_pan_sensitive (); update_pan_sensitive ();
/* start watching automation so that things move */
pan_watching.disconnect();
if (x) {
pan_watching = Timers::rapid_connect (sigc::mem_fun (*this, &PannerUI::effective_pan_display));
}
} }
string string

View File

@ -140,7 +140,6 @@ private:
void pan_automation_state_changed(); void pan_automation_state_changed();
gint pan_automation_state_button_event (GdkEventButton *); gint pan_automation_state_button_event (GdkEventButton *);
sigc::connection pan_watching;
std::string astate_string (ARDOUR::AutoState); std::string astate_string (ARDOUR::AutoState);
std::string short_astate_string (ARDOUR::AutoState); std::string short_astate_string (ARDOUR::AutoState);