Skip to content
Permalink
Browse files

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

…oved

(cherry picked from commit d7cce9c)
  • Loading branch information
nyalldawson committed Dec 16, 2020
1 parent a7986c6 commit 4808dd76c22b306640413c8633578c937869cfdd
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 4808dd7

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