Skip to content

Commit 24ae559

Browse files
committed
Fix crash when re-opening VST effect manage dialog
Unset Qt::WA_DeleteOnClose for the dialog to avoid deletion when closed
1 parent 235e8ee commit 24ae559

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/VstEffect/VstEffectControls.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ manageVSTEffectView::manageVSTEffectView( VstEffect * _eff, VstEffectControls *
317317
m_vi->m_subWindow->setWidget(m_vi->m_scrollArea);
318318
m_vi->m_subWindow->setWindowTitle( _eff->m_plugin->name() + tr( " - VST parameter control" ) );
319319
m_vi->m_subWindow->setWindowIcon( PLUGIN_NAME::getIconPixmap( "logo" ) );
320-
//m_vi->m_subWindow->setAttribute(Qt::WA_DeleteOnClose);
320+
m_vi->m_subWindow->setAttribute(Qt::WA_DeleteOnClose, false);
321321

322322

323323
l->setContentsMargins( 20, 10, 10, 10 );

0 commit comments

Comments
 (0)