mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 10:55:46 -05:00
Python: use the module run().__doc__ as a pretty description.
This commit is contained in:
parent
f12ae5db3b
commit
a72cc0eeb4
1 changed files with 5 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue