Skip to content
Snippets Groups Projects
Commit 04ab71ba authored by Teo Mrnjavac's avatar Teo Mrnjavac
Browse files

Fix default new partition text.

parent 9c90a2a5
Branches
Tags
No related merge requests found
......@@ -199,8 +199,10 @@ PartitionLabelsView::buildTexts( const QModelIndex& index ) const
firstLine = tr( "EFI system" );
else if ( index.data( PartitionModel::FileSystemTypeRole ).toInt() == FileSystem::LinuxSwap )
firstLine = tr( "Swap" );
else
else if ( !mountPoint.isEmpty() )
firstLine = tr( "New partition for %1" ).arg( mountPoint );
else
firstLine = tr( "New partition" );
}
else if ( index.data( PartitionModel::OsproberNameRole ).toString().isEmpty() )
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment