Skip to content

Commit

Permalink
Fix tooltip of "Apply Changes" button in Handle unavailable layers di…
Browse files Browse the repository at this point in the history
…alog

If not successful, the remaining unavailable layers are not removed from the project; "Apply changes" can be used as many times as you want.
  • Loading branch information
DelazJ committed Sep 20, 2020
1 parent 1a83d21 commit 5547d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgshandlebadlayers.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit 5547d1f

Please sign in to comment.