adjust window title on rename lfo controller

This commit is contained in:
Steffen Baranowsky
2016-09-01 11:29:11 +02:00
parent 129e446322
commit 0af64f5836

View File

@@ -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 );
}
}