Skip to content

Commit

Permalink
Correctly set parent for select by expression dialog in main window
Browse files Browse the repository at this point in the history
(cherry-picked from ac2cd47)
  • Loading branch information
nyalldawson committed Feb 23, 2016
1 parent 45fa67d commit f744227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6167,7 +6167,7 @@ void QgisApp::selectByExpression()
return;
}

QgsExpressionSelectionDialog* dlg = new QgsExpressionSelectionDialog( vlayer );
QgsExpressionSelectionDialog* dlg = new QgsExpressionSelectionDialog( vlayer, QString(), this );
dlg->setAttribute( Qt::WA_DeleteOnClose );
dlg->show();
}
Expand Down

0 comments on commit f744227

Please sign in to comment.