Python: at beginning of job, if pretty status has changed, emit progress to update it in the UI.
This commit is contained in:
parent
b29643d49b
commit
d6d8e73532
@ -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…
Reference in New Issue
Block a user