From 228556ab9c7356b868c33da47fcdc6362e4b5a93 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 13 Oct 2016 19:57:50 +0200 Subject: [PATCH] fix panner reset when switching to aux-sends -- fixes #6893 --- libs/ardour/pannable.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/ardour/pannable.cc b/libs/ardour/pannable.cc index d77c8a0e7f..abfb9d66c2 100644 --- a/libs/ardour/pannable.cc +++ b/libs/ardour/pannable.cc @@ -107,6 +107,12 @@ Pannable::set_panner (boost::shared_ptr p) void Pannable::value_changed () { + if (!has_state ()) { + // prevent the GUI from resetting panners + // e.g. when switching to aux-sends and back. + _has_state = true; + } + _session.set_dirty (); }