Skip to content
Permalink
Browse files

Stick to C++11 for now

  • Loading branch information
m-kuhn committed Jun 20, 2018
1 parent 693455b commit 4dfbb6b7ddd5b43b269f1c0a4b59707b74246357
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/editorwidgets/qgsvaluerelationwidgetwrapper.cpp
@@ -228,9 +228,9 @@ 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, &cache = qgis::as_const( mCache ) ]
QTimer::singleShot( 0, [ this ]
{
setValue( cache.first().key );
setValue( cache.at( 0 ).key );
} );
}
}

0 comments on commit 4dfbb6b

Please sign in to comment.
You can’t perform that action at this time.