Commit 3daf090b authored by luyikei's avatar luyikei

MainWorkflow: Fix segfault when finishing the rendering

parent d93d5a3e
......@@ -349,7 +349,7 @@ MainWorkflow::startRenderToFile( const QString &outputFileName, quint32 width, q
dialog.updatePreview( input->image( width, height ) );
}
});
connect( this, &MainWorkflow::mainWorkflowEndReached, &dialog, &WorkflowFileRendererDialog::accept );
connect( &cEventWatcher, &OutputEventWatcher::stopped, &dialog, &WorkflowFileRendererDialog::accept );
#endif
input->setPosition( 0 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment