Skip to content
Permalink
Browse files
Add a safety guard
  • Loading branch information
pblottiere committed Aug 28, 2017
1 parent e008f58 commit 19ce33f
Showing 1 changed file with 3 additions and 0 deletions.
@@ -2055,6 +2055,9 @@ bool QgsAttributeForm::fieldIsEditable( const QgsVectorLayer &layer, int fieldIn

void QgsAttributeForm::updateIcon( QgsEditorWidgetWrapper *eww )
{
if ( !eww->widget() || !mIconMap[eww->widget()] )
return;

// no icon by default
mIconMap[eww->widget()]->hide();

0 comments on commit 19ce33f

Please sign in to comment.