Skip to content

Commit

Permalink
fix reset button in relation reference widget
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Aug 28, 2015
1 parent 3c3a4be commit fc14f0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editorwidgets/qgsrelationreferencewidget.cpp
Expand Up @@ -379,7 +379,7 @@ void QgsRelationReferenceWidget::setEditorContext( const QgsAttributeEditorConte
if ( mMapTool )
delete mMapTool;
mMapTool = new QgsMapToolIdentifyFeature( mCanvas );
mMapTool->setAction( mMapIdentificationButton->defaultAction() );
mMapTool->setButton( mMapIdentificationButton );
}

void QgsRelationReferenceWidget::setEmbedForm( bool display )
Expand Down

0 comments on commit fc14f0e

Please sign in to comment.