fix thinko. custom panner URL is remembered for later when port-count/panner changes
authorRobin Gareus <robin@gareus.org>
Tue, 28 Jan 2014 12:50:41 +0000 (13:50 +0100)
committerRobin Gareus <robin@gareus.org>
Tue, 28 Jan 2014 12:51:17 +0000 (13:51 +0100)
gtk2_ardour/panner_ui.cc

index 2a6568992b39a54db3038d60c9e66ff8ccdc332a..9ea2b357eb5c509618ef161ecb59bb9a59adf9c0 100644 (file)
@@ -392,9 +392,6 @@ PannerUI::build_pan_menu ()
                RadioMenuItem::Group group;
                items.push_back (SeparatorElem());
 
-               assert(_panshell->user_selected_panner_uri() == ""
-                               ||  _panshell->user_selected_panner_uri() == _panshell->current_panner_uri());
-
                _suspend_menu_callbacks = true;
                for (std::map<std::string,std::string>::const_iterator p = _panner_list.begin(); p != _panner_list.end(); ++p) {
                        items.push_back (RadioMenuElem (group, p->second,