Skip to content

Commit 4e767ce

Browse files
committedNov 7, 2018
bad layers dialog new button labels and icon
1 parent 4cdde31 commit 4e767ce

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎src/app/qgshandlebadlayers.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,11 @@ void QgsHandleBadLayersHandler::handleBadLayers( const QList<QDomNode> &layers )
4343
QgsHandleBadLayers *dialog = new QgsHandleBadLayers( layers );
4444

4545
dialog->buttonBox->button( QDialogButtonBox::Ignore )->setToolTip( tr( "Import all bad layers unmodified (you can fix them later)." ) );
46+
dialog->buttonBox->button( QDialogButtonBox::Ignore )->setText( tr( "Keep bad layers" ) );
4647
dialog->buttonBox->button( QDialogButtonBox::Apply )->setToolTip( tr( "Apply fixes to bad layers (remaining bad layers will be removed from the project)." ) );
4748
dialog->buttonBox->button( QDialogButtonBox::Discard )->setToolTip( tr( "Remove all bad layers from the project" ) );
49+
dialog->buttonBox->button( QDialogButtonBox::Discard )->setText( tr( "Remove bad layers" ) );
50+
dialog->buttonBox->button( QDialogButtonBox::Discard )->setIcon( QgsApplication::getThemeIcon( "/mActionDeleteSelected.svg" ) );
4851

4952
if ( dialog->layerCount() < layers.size() )
5053
QgisApp::instance()->messageBar()->pushMessage(

0 commit comments

Comments
 (0)