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

This commit is contained in:
Adriaan de Groot 2017-07-10 11:49:19 -04:00 committed by Philip
parent b29643d49b
commit d6d8e73532

View File

@ -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();