Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add read-only test
following suggestion in #43509
  • Loading branch information
3nids committed Jun 2, 2021
1 parent 0925273 commit 92d5639
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/src/gui/testqgsrelationreferencewidget.cpp
Expand Up @@ -571,6 +571,9 @@ void TestQgsRelationReferenceWidget::testIdentifyOnMap()
QCOMPARE( feature.attribute( QStringLiteral( "pk" ) ).toInt(), 10 );
w.featureIdentified( feature );
QCOMPARE( w.mComboBox->currentData( Qt::DisplayRole ).toInt(), 10 );

w.setReadOnlySelector( true );
QVERIFY( !w.mComboBox->enabled() );

mLayer1->rollBack();
}
Expand Down

0 comments on commit 92d5639

Please sign in to comment.