delete 'big' 2d panner window, if panner changes to mono|stereo

This commit is contained in:
Robin Gareus 2014-01-13 12:02:00 +01:00
parent 346310c60b
commit 9c595f8131
2 changed files with 7 additions and 4 deletions

View file

@ -202,10 +202,6 @@ Panner2d::handle_state_change ()
{
panconnect.drop_connections();
if (!panner_shell->panner()) {
/* we should really self-destruct the UI here
* -> * PannerUI::set_panner() -> delete
*/
queue_draw ();
return;
}