mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
index is preserved - change the tests accordingly
This commit is contained in:
parent
ca6ae15d9e
commit
27ff5ebef6
@ -891,9 +891,8 @@ void TestQgsAttributeTable::testEnsureEditSelection()
|
||||
// we reload the layer
|
||||
layer->reload();
|
||||
spy.wait( 1 );
|
||||
// ... and the currentEditSelection jumps to the first one (instead of staying at 2, since it's NOT persistend)
|
||||
QVERIFY( dlg->mMainView->mFeatureListView->currentEditSelection().contains( 1 ) );
|
||||
|
||||
// ... and the currentEditSelection stays on 2 (since lastEditSelectionFid is persisted)
|
||||
QVERIFY( dlg->mMainView->mFeatureListView->currentEditSelection().contains( 2 ) );
|
||||
}
|
||||
|
||||
QGSTEST_MAIN( TestQgsAttributeTable )
|
||||
|
Loading…
x
Reference in New Issue
Block a user