Skip to content
Permalink
Browse files

Registry updates

  • Loading branch information
m-kuhn committed Sep 19, 2018
1 parent e55bb7a commit e8a7ab4303c6de0342ff4df7ad98c1b2316d6f58
@@ -17,7 +17,12 @@

#include "qgis.h"

QgsGeometryCheck::CheckType QgsGeometryCheckFactory::flags() const
bool QgsGeometryCheckFactory::isCompatible( QgsVectorLayer *layer ) const
{
return QgsGeometryCheck::FeatureNodeCheck;
return true;
}

QgsGeometryCheck::Flags QgsGeometryCheckFactory::flags() const
{
return nullptr;
}
@@ -64,6 +64,9 @@
#include "qgsvectorlayersavestyledialog.h"
#include "qgsvectorlayerloadstyledialog.h"
#include "qgsmessagebar.h"
#include "qgsgeometrycheckregistry.h"
#include "qgsgeometrycheck.h"
#include "qgsanalysis.h"

#include "layertree/qgslayertreelayer.h"
#include "qgslayertree.h"
@@ -755,6 +758,9 @@ void QgsVectorLayerProperties::apply()
mLayer->geometryOptions()->setRemoveDuplicateNodes( mRemoveDuplicateNodesCheckbox->isChecked() );
mLayer->geometryOptions()->setGeometryPrecision( mGeometryPrecisionLineEdit->text().toDouble() );

// update symbology
emit refreshLegend( mLayer->id() );

mLayer->triggerRepaint();
// notify the project we've made a change
QgsProject::instance()->setDirty( true );

0 comments on commit e8a7ab4

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