Python: at beginning of job, if pretty status has changed, emit progress to update it in the UI.

main
Adriaan de Groot 8 years ago
parent fcde28ca9d
commit 34b96148ae

@ -306,6 +306,7 @@ PythonJob::exec()
if ( i_newline > 0 ) if ( i_newline > 0 )
m_description.truncate( i_newline ); m_description.truncate( i_newline );
cDebug() << "Job" << prettyName() << "->" << m_description; cDebug() << "Job" << prettyName() << "->" << m_description;
emit progress( 0 );
} }
bp::object runResult = entryPoint(); bp::object runResult = entryPoint();

Loading…
Cancel
Save