From d6d8e7353203f18a673e19e2a4a2826e09399263 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Mon, 10 Jul 2017 11:49:19 -0400 Subject: [PATCH] Python: at beginning of job, if pretty status has changed, emit progress to update it in the UI. --- src/libcalamares/PythonJob.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libcalamares/PythonJob.cpp b/src/libcalamares/PythonJob.cpp index e02f9e210..1955b64fc 100644 --- a/src/libcalamares/PythonJob.cpp +++ b/src/libcalamares/PythonJob.cpp @@ -306,6 +306,7 @@ PythonJob::exec() if ( i_newline > 0 ) m_description.truncate( i_newline ); cDebug() << "Job" << prettyName() << "->" << m_description; + emit progress( 0 ); } bp::object runResult = entryPoint();