Skip to content
Permalink
Browse files

Fix relation reference widget model out of sync

Causes crashes in some situations
  • Loading branch information
m-kuhn committed Nov 2, 2017
1 parent c336fee commit 1fd4b638cc9eb00edbb5e4b883c967ca38305914
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsfeaturefiltermodel.cpp
@@ -254,7 +254,7 @@ void QgsFeatureFilterModel::updateCompleter()
if ( currentEntryInNewList != 0 )
{
beginInsertRows( QModelIndex(), 0, currentEntryInNewList - 1 );
mEntries = entries.mid( 0, currentEntryInNewList );
mEntries = entries.mid( 0, currentEntryInNewList ) + mEntries;
endInsertRows();
}
else

0 comments on commit 1fd4b63

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