Fix tooltip of "Apply Changes" button in Handle unavailable layers dialog

If not successful, the remaining unavailable layers are not removed from the project; "Apply changes" can be used as many times as you want.
This commit is contained in:
Harrissou Sant-anna 2020-09-20 09:32:09 +02:00 committed by GitHub
parent 1a83d21912
commit 5547d1f953
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,7 @@ QgsHandleBadLayers::QgsHandleBadLayers( const QList<QDomNode> &layers )
mAutoFindButton->setToolTip( tr( "Attempts to automatically find the layers based on the file name (can be slow)." ) );
buttonBox->addButton( mAutoFindButton, QDialogButtonBox::ActionRole );
mApplyButton = new QPushButton( tr( "Apply Changes" ) );
mApplyButton->setToolTip( tr( "Apply fixes to unavailable layers (remaining unavailable layers will be removed from the project)." ) );
mApplyButton->setToolTip( tr( "Apply fixes to unavailable layers and load them in the project if the new path is correct." ) );
buttonBox->addButton( mApplyButton, QDialogButtonBox::ActionRole );
connect( mLayerList, &QTableWidget::itemSelectionChanged, this, &QgsHandleBadLayers::selectionChanged );