Skip to content

Commit

Permalink
Added support for dynamic relations
Browse files Browse the repository at this point in the history
  • Loading branch information
suricactus committed Jan 18, 2021
1 parent 32e5ec0 commit 5964e0b
Show file tree
Hide file tree
Showing 12 changed files with 1,041 additions and 308 deletions.
1 change: 1 addition & 0 deletions src/app/CMakeLists.txt
Expand Up @@ -140,6 +140,7 @@ set(QGIS_APP_SRCS
qgsrastercalcdialog.cpp
qgsrelationmanagerdialog.cpp
qgsrelationadddlg.cpp
qgsrelationaddpolymorphicdlg.cpp
qgsselectbyformdialog.cpp
qgsstatisticalsummarydockwidget.cpp
qgstextannotationdialog.cpp
Expand Down
1 change: 1 addition & 0 deletions src/app/qgsprojectproperties.cpp
Expand Up @@ -1586,6 +1586,7 @@ void QgsProjectProperties::apply()
QgsProject::instance()->writeEntry( QStringLiteral( "Macros" ), QStringLiteral( "/pythonCode" ), pythonMacros );

QgsProject::instance()->relationManager()->setRelations( mRelationManagerDlg->relations() );
QgsProject::instance()->relationManager()->setPolymorphicRelations( mRelationManagerDlg->polymorphicRelations() );

//save variables
QgsProject::instance()->setCustomVariables( mVariableEditor->variablesInActiveScope() );
Expand Down

0 comments on commit 5964e0b

Please sign in to comment.