From dbb4a8e6ab63ceb08731e0928ca0175e6c9d5b57 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Tue, 14 Jan 2014 18:18:59 +0100 Subject: [PATCH] FxMixerView: fixed clear() Before calling refreshDisplay() we have to actually clear the backend model. --- src/gui/FxMixerView.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/FxMixerView.cpp b/src/gui/FxMixerView.cpp index 453e25a26..d8382ed9d 100644 --- a/src/gui/FxMixerView.cpp +++ b/src/gui/FxMixerView.cpp @@ -437,6 +437,9 @@ void FxMixerView::setCurrentFxLine( int _line ) void FxMixerView::clear() { m_rackView->clearViews(); + + engine::fxMixer()->clear(); + refreshDisplay(); }