Skip to content

Commit fc14f0e

Browse files
committed
fix reset button in relation reference widget
1 parent 3c3a4be commit fc14f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/editorwidgets/qgsrelationreferencewidget.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ void QgsRelationReferenceWidget::setEditorContext( const QgsAttributeEditorConte
379379
if ( mMapTool )
380380
delete mMapTool;
381381
mMapTool = new QgsMapToolIdentifyFeature( mCanvas );
382-
mMapTool->setAction( mMapIdentificationButton->defaultAction() );
382+
mMapTool->setButton( mMapIdentificationButton );
383383
}
384384

385385
void QgsRelationReferenceWidget::setEmbedForm( bool display )

0 commit comments

Comments
 (0)