| 385 | |
| 386 | |
| 387 | void ZynAddSubFxInstrument::reloadPlugin() |
| 388 | { |
| 389 | // save state of current plugin instance |
| 390 | DataFile m( DataFile::InstrumentTrackSettings ); |
| 391 | saveSettings( m, m.content() ); |
| 392 | |
| 393 | // init plugin (will delete current one and create a new instance) |
| 394 | initPlugin(); |
| 395 | |
| 396 | // and load the settings again |
| 397 | loadSettings( m.content() ); |
| 398 | } |
| 399 | |
| 400 | |
| 401 |
no test coverage detected