From f41149628955fc8145bef6db0c110b71664c0a3a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 21 Jul 2009 14:39:21 +0000 Subject: fix clicking when processors become active/inactive; reduce crazy 2.5sec delay for quit dialog git-svn-id: svn://localhost/ardour2/branches/3.0@5402 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/processor.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libs/ardour/processor.cc') diff --git a/libs/ardour/processor.cc b/libs/ardour/processor.cc index e3a2b0b15e..04706c0c2d 100644 --- a/libs/ardour/processor.cc +++ b/libs/ardour/processor.cc @@ -65,6 +65,7 @@ const string Processor::state_node_name = "Processor"; Processor::Processor(Session& session, const string& name) : SessionObject(session, name) , AutomatableControls(session) + , _pending_active(false) , _active(false) , _next_ab_is_active(false) , _configured(false) @@ -75,12 +76,14 @@ Processor::Processor(Session& session, const string& name) Processor::Processor (Session& session, const XMLNode& node) : SessionObject(session, "renameMe") , AutomatableControls(session) + , _pending_active(false) , _active(false) , _next_ab_is_active(false) , _configured(false) , _gui(0) { set_state (node); + _pending_active = _active; } XMLNode& -- cgit v1.2.3