Close the render calloutbox when starting render

This commit is contained in:
xenakios 2018-07-09 20:40:31 +03:00
parent c1901c0528
commit 2154cfbae8

View File

@ -170,7 +170,7 @@ void RenderSettingsComponent::buttonClicked (Button* buttonThatWasClicked)
m_proc->offlineRender(File(outfileNameEditor.getText()));
//m_main->renderToFile(File(outfileNameEditor.getText()),numLoops,
// comboBoxBitDepth.getSelectedId()-1,sampleRate,m_toggleFloatClip.getToggleState(),maxrenderlen);
auto pardlg = dynamic_cast<DialogWindow*>(getParentComponent());
auto pardlg = dynamic_cast<CallOutBox*>(getParentComponent());
{
if (pardlg != nullptr)
pardlg->exitModalState(1);