[partition] Give requirement entry a description
- The description is used in the Details dialog when the requirements fail. This one should be visible.
This commit is contained in:
parent
2092ec3c9a
commit
40de1bd2eb
@ -679,8 +679,8 @@ Calamares::RequirementsList PartitionViewStep::checkRequirements()
|
||||
l.append(
|
||||
{
|
||||
QLatin1Literal( "partitions" ),
|
||||
[]{ return QString(); },
|
||||
[this]{ return tr( "There are no partitons to install on." ); },
|
||||
[]{ return tr( "has at least one disk device available." ); },
|
||||
[]{ return tr( "There are no partitons to install on." ); },
|
||||
m_core->deviceModel()->rowCount() > 0, // satisfied
|
||||
true // required
|
||||
} );
|
||||
|
Loading…
Reference in New Issue
Block a user