| 301 | |
| 302 | |
| 303 | void VstEffectControlDialog::togglePluginUI( bool checked ) |
| 304 | { |
| 305 | if( !m_plugin ) { |
| 306 | return; |
| 307 | } |
| 308 | |
| 309 | if ( m_togglePluginButton->isChecked() != checked ) { |
| 310 | m_togglePluginButton->setChecked( checked ); |
| 311 | } |
| 312 | |
| 313 | if ( checked ) { |
| 314 | m_plugin->showUI(); |
| 315 | } else { |
| 316 | m_plugin->hideUI(); |
| 317 | } |
| 318 | } |
| 319 |
no test coverage detected