mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -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
|
// we reload the layer
|
||||||
layer->reload();
|
layer->reload();
|
||||||
spy.wait( 1 );
|
spy.wait( 1 );
|
||||||
// ... and the currentEditSelection jumps to the first one (instead of staying at 2, since it's NOT persistend)
|
// ... and the currentEditSelection stays on 2 (since lastEditSelectionFid is persisted)
|
||||||
QVERIFY( dlg->mMainView->mFeatureListView->currentEditSelection().contains( 1 ) );
|
QVERIFY( dlg->mMainView->mFeatureListView->currentEditSelection().contains( 2 ) );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QGSTEST_MAIN( TestQgsAttributeTable )
|
QGSTEST_MAIN( TestQgsAttributeTable )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user