MCPcopy Create free account
hub / github.com/LMMS/lmms / toggleUI

Method toggleUI

plugins/zynaddsubfx/ZynAddSubFx.cpp:647–661  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645
646
647void ZynAddSubFxView::toggleUI()
648{
649 ZynAddSubFxInstrument * model = castModel<ZynAddSubFxInstrument>();
650 if( model->m_hasGUI != m_toggleUIButton->isChecked() )
651 {
652 model->m_hasGUI = m_toggleUIButton->isChecked();
653 model->reloadPlugin();
654
655 if( model->m_remotePlugin )
656 {
657 connect( model->m_remotePlugin, SIGNAL( clickedCloseButton() ),
658 m_toggleUIButton, SLOT( toggle() ) );
659 }
660 }
661}
662
663
664

Callers

nothing calls this directly

Calls 1

reloadPluginMethod · 0.45

Tested by

no test coverage detected