Skip to content
Permalink
Browse files

Follow up b5469c9, also close Select by Form dialog when layer is rem…

…oved (#40617)
  • Loading branch information
qgis-bot committed Dec 18, 2020
1 parent ab92ca4 commit 42b56152d0d8474cf7c615ae6c589f5bae33efaf
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/app/qgsselectbyformdialog.cpp
@@ -47,7 +47,9 @@ QgsSelectByFormDialog::QgsSelectByFormDialog( QgsVectorLayer *layer, const QgsAt

QgsGui::enableAutoGeometryRestore( this );

setWindowTitle( tr( "Select Features by Value" ) );
setWindowTitle( tr( "%1 — Select Features" ).arg( layer->name() ) );

connect( mLayer, &QgsVectorLayer::willBeDeleted, this, &QgsSelectByFormDialog::close );
}

void QgsSelectByFormDialog::setMessageBar( QgsMessageBar *messageBar )

0 comments on commit 42b5615

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