Skip to content
Permalink
Browse files

Add a safety guard

  • Loading branch information
pblottiere committed Aug 27, 2017
1 parent e008f58 commit 19ce33f0119b13acb047c233ad6d4a79675d3b29
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/gui/qgsattributeform.cpp
@@ -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.
You can’t perform that action at this time.