Skip to content
Browse files
Enable topological editing on first TopoGeometry layer creation
I'm not sure this is an acceptable behavior, but I'm sure users
do want to edit TopoGeometry layers in a topological way.
The problem with this implementation is that topological editing
is enabled for editing of every layer, not just the TopoGeometry
  • Loading branch information
Sandro Santilli committed Feb 19, 2013
1 parent 0f0c981 commit edecf38
Showing 1 changed file with 4 additions and 0 deletions.
@@ -23,6 +23,7 @@
#include <qgsmessagelog.h>
#include <qgsrectangle.h>
#include <qgscoordinatereferencesystem.h>
#include <qgsproject.h>

#include "qgsvectorlayerimport.h"
#include "qgsprovidercountcalcevent.h"
@@ -132,6 +133,9 @@ QgsPostgresProvider::QgsPostgresProvider( QString const & uri )

// Enable topological editing
QgsProject::instance()->writeEntry( "Digitizing", "/TopologicalEditing", true );


0 comments on commit edecf38

Please sign in to comment.