Skip to content
Permalink
Browse files

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

…oved
  • Loading branch information
nyalldawson committed Dec 16, 2020
1 parent 4fdb0e9 commit d7cce9c0f036c339539097a58478fef466af51c8
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgsselectbyformdialog.cpp
@@ -47,6 +47,8 @@ QgsSelectByFormDialog::QgsSelectByFormDialog( QgsVectorLayer *layer, const QgsAt
QgsGui::enableAutoGeometryRestore( this );

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

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

void QgsSelectByFormDialog::setMessageBar( QgsMessageBar *messageBar )

0 comments on commit d7cce9c

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