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 ebf3bac commit e94ebc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/editorwidgets/qgsrelationreferencewidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,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 e94ebc4

Please sign in to comment.