Skip to content
Permalink
Browse files

bad layers dialog new button labels and icon

  • Loading branch information
elpaso committed Nov 7, 2018
1 parent 4cdde31 commit 4e767ce2a5bbb3e42b4e9fffea8ff93fde59a04f
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/qgshandlebadlayers.cpp
@@ -43,8 +43,11 @@ void QgsHandleBadLayersHandler::handleBadLayers( const QList<QDomNode> &layers )
QgsHandleBadLayers *dialog = new QgsHandleBadLayers( layers );

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

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

0 comments on commit 4e767ce

Please sign in to comment.
You can’t perform that action at this time.