bugfix for checkidset for empty grids.
The begin iterator of an grid view should be checked for != end before dereferencing it. Otherwise the test fails for empty grids.
Edited by Robert K
The begin iterator of an grid view should be checked for != end before dereferencing it. Otherwise the test fails for empty grids.