Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
|
@@ -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 ); |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.