Skip to content
Permalink
Browse files

Code style cleanup only

git-svn-id: http://svn.osgeo.org/qgis/trunk@11925 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Nov 6, 2009
1 parent ae172a0 commit bbf850da27a0ef683b30c164fa730a10630587ec
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 bbf850d

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