Merge pull request #1142 from a-wai/fix-sidebar-label-setup-mode

[libcalamaresui] Fix sidebar label for setup mode
This commit is contained in:
Adriaan de Groot 2019-05-09 13:16:10 +02:00 committed by GitHub
commit 0864153eb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,9 @@ ExecutionViewStep::ExecutionViewStep( QObject* parent )
QString
ExecutionViewStep::prettyName() const
{
return tr( "Install" );
return Calamares::Settings::instance()->isSetupMode()
? tr( "Set up" )
: tr( "Install" );
}