Python: use the module run().__doc__ as a pretty description.
This commit is contained in:
parent
7ff814790d
commit
8bb6dc6d36
@ -248,8 +248,11 @@ PythonJob::prettyName() const
|
||||
QString
|
||||
PythonJob::prettyStatusMessage() const
|
||||
{
|
||||
return tr( "Running %1 operation." )
|
||||
.arg( QDir( m_workingPath ).dirName() );
|
||||
if ( m_description.isEmpty() )
|
||||
return tr( "Running %1 operation." )
|
||||
.arg( QDir( m_workingPath ).dirName() );
|
||||
else
|
||||
return m_description;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user