Partition: don't set text if button doesn't exist
This commit is contained in:
parent
670d8089bc
commit
2820316d16
@ -140,8 +140,11 @@ ChoicePage::retranslate()
|
|||||||
m_previewBeforeLabel->setText( tr( "Current:" ) );
|
m_previewBeforeLabel->setText( tr( "Current:" ) );
|
||||||
m_previewAfterLabel->setText( tr( "After:" ) );
|
m_previewAfterLabel->setText( tr( "After:" ) );
|
||||||
|
|
||||||
m_somethingElseButton->setText( tr( "<strong>Manual partitioning</strong><br/>"
|
if ( m_somethingElseButton )
|
||||||
"You can create or resize partitions yourself." ) );
|
{
|
||||||
|
m_somethingElseButton->setText( tr( "<strong>Manual partitioning</strong><br/>"
|
||||||
|
"You can create or resize partitions yourself." ) );
|
||||||
|
}
|
||||||
updateSwapChoicesTr( m_eraseSwapChoiceComboBox );
|
updateSwapChoicesTr( m_eraseSwapChoiceComboBox );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user