mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-12 00:02:25 -04:00
Ensure context is passed with QTimer::singleShot
This commit is contained in:
parent
2855ccbeff
commit
5c7f13b3a4
@ -228,7 +228,7 @@ void QgsValueRelationWidgetWrapper::setFeature( const QgsFeature &feature )
|
||||
{
|
||||
// This is deferred because at the time the feature is set in one widget it is not
|
||||
// set in the next, which is typically the "down" in a drill-down
|
||||
QTimer::singleShot( 0, [ this ]
|
||||
QTimer::singleShot( 0, this, [ this ]
|
||||
{
|
||||
setValue( mCache.at( 0 ).key );
|
||||
} );
|
||||
|
Loading…
x
Reference in New Issue
Block a user