Skip to content

Commit

Permalink
Fix filter controls break after changing audio channels
Browse files Browse the repository at this point in the history
When the number of audio channels is changed, the producer changes.
But the filter controller does not know about it and continues to
use the old one.
  • Loading branch information
bmatherly committed May 8, 2023
1 parent 3bc6ab4 commit 061f33e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/mainwindow.cpp
Expand Up @@ -534,6 +534,7 @@ void MainWindow::setupAndConnectDocks()
m_filterController->motionTrackerModel(), &MotionTrackerModel::removeFromService);
connect(m_timelineDock->model(), &MultitrackModel::removing,
m_filterController->motionTrackerModel(), &MotionTrackerModel::removeFromService);
connect(this, SIGNAL(audioChannelsChanged()), m_filterController, SLOT(setProducer()));

m_markersDock = new MarkersDock(this);
m_markersDock->hide();
Expand Down

0 comments on commit 061f33e

Please sign in to comment.