We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent ca6ae15 commit 27ff5ebCopy full SHA for 27ff5eb
tests/src/app/testqgsattributetable.cpp
@@ -891,9 +891,8 @@ void TestQgsAttributeTable::testEnsureEditSelection()
891
// we reload the layer
892
layer->reload();
893
spy.wait( 1 );
894
- // ... and the currentEditSelection jumps to the first one (instead of staying at 2, since it's NOT persistend)
895
- QVERIFY( dlg->mMainView->mFeatureListView->currentEditSelection().contains( 1 ) );
896
-
+ // ... and the currentEditSelection stays on 2 (since lastEditSelectionFid is persisted)
+ QVERIFY( dlg->mMainView->mFeatureListView->currentEditSelection().contains( 2 ) );
897
}
898
899
QGSTEST_MAIN( TestQgsAttributeTable )
0 commit comments