From 0af64f5836bd2e0991491088a5f34254fb15f59b Mon Sep 17 00:00:00 2001 From: Steffen Baranowsky Date: Thu, 1 Sep 2016 11:29:11 +0200 Subject: [PATCH] adjust window title on rename lfo controller --- src/gui/widgets/ControllerView.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/widgets/ControllerView.cpp b/src/gui/widgets/ControllerView.cpp index 0b1d912c4..d6a020bce 100644 --- a/src/gui/widgets/ControllerView.cpp +++ b/src/gui/widgets/ControllerView.cpp @@ -154,6 +154,10 @@ void ControllerView::renameController() if( ok && !new_name.isEmpty() ) { c->setName( new_name ); + if( getController()->type() == getController()->LfoController ) + { + m_controllerDlg->setWindowTitle( "LFO (" + new_name + ")" ); + } m_nameLabel->setText( new_name ); } }