Commit 874326ee authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

RenderDialog: Closing the dialog when render is completed

parent 6955e8b2
......@@ -35,6 +35,7 @@ WorkflowFileRendererDialog::WorkflowFileRendererDialog( WorkflowFileRenderer* re
m_workflow = MainWorkflow::getInstance();
connect( m_ui.cancelButton, SIGNAL( clicked() ), m_renderer, SLOT( stop() ) );
connect( m_ui.cancelButton, SIGNAL( clicked() ), this, SLOT( close() ) );
connect( m_renderer, SIGNAL( renderComplete() ), this, SLOT( accept() ) );
connect( m_renderer, SIGNAL( frameChanged( qint64 ) ), this, SLOT( frameChanged( qint64 ) ) );
connect( m_renderer, SIGNAL( imageUpdated( const uchar* ) ),
this, SLOT( updatePreview( const uchar* ) ),
......
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