Skip to content
Permalink
Browse files

Code style cleanup only

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11925 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Nov 6, 2009
1 parent 431d695 commit d8f14ba3b73d6573f69f89c7bcfb2450b9f85f24
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/app/qgisapp.cpp
@@ -4604,11 +4604,15 @@ void QgisApp::toggleEditing()
void QgisApp::toggleEditing( QgsMapLayer *layer )
{
if ( !layer )
{
return;
}

QgsVectorLayer *vlayer = qobject_cast<QgsVectorLayer *>( layer );
if ( !vlayer )
{
return;
}

if ( !vlayer->isEditable() )
{

0 comments on commit d8f14ba

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