Skip to content
Permalink
Browse files

Fix breaking tests

  • Loading branch information
suricactus committed Jan 8, 2021
1 parent ebddedd commit 770856959b4f063044901a7be377f95ced47ca29
@@ -62,7 +62,7 @@ inserting and deleting entries on the intermediate table as required.
Sets the ``feature`` being edited and updates the UI unless ``update`` is set to ``False``
%End

void setEditorContext( const QgsAttributeEditorContext &context );
virtual void setEditorContext( const QgsAttributeEditorContext &context );
%Docstring
Sets the editor ``context``

@@ -72,7 +72,8 @@ The feature selection manager is responsible for the selected features
which are currently being edited.
%End

void setEditorContext( const QgsAttributeEditorContext &context );
virtual void setEditorContext( const QgsAttributeEditorContext &context );

%Docstring
Sets the editor ``context``

@@ -190,9 +190,8 @@ void QgsRelationWidgetWrapper::initWidget( QWidget *editor )
}
while ( ctx );

w->setRelations( mRelation, mNmRelation );

w->setEditorContext( myContext );
w->setRelations( mRelation, mNmRelation );

mWidget = w;
}
@@ -101,7 +101,7 @@ class GUI_EXPORT QgsAbstractRelationEditorWidget : public QWidget
* \note if context cadDockWidget is null, it won't be possible to digitize
* the geometry of a referencing feature from this widget
*/
void setEditorContext( const QgsAttributeEditorContext &context );
virtual void setEditorContext( const QgsAttributeEditorContext &context );

/**
* Returns the attribute editor context.
@@ -136,7 +136,7 @@ class GUI_EXPORT QgsRelationEditorWidget : public QgsAbstractRelationEditorWidge
* \note if context cadDockWidget is null, it won't be possible to digitize
* the geometry of a referencing feature from this widget
*/
void setEditorContext( const QgsAttributeEditorContext &context );
void setEditorContext( const QgsAttributeEditorContext &context ) override;

/**
* Defines the buttons which are shown

0 comments on commit 7708569

Please sign in to comment.
You can’t perform that action at this time.