Skip to content
Permalink
Browse files

feature action: fix crash at launch

  • Loading branch information
3nids committed Jan 20, 2014
1 parent 9f3e8f4 commit c22c0d99128532eaa2694cbc64c4f79cd4059acb
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -8778,7 +8778,7 @@ void QgisApp::refreshActionFeatureAction()
{
QgsMapLayer* layer = activeLayer();

if ( layer->type() != QgsMapLayer::VectorLayer )
if ( layer == 0 || layer->type() != QgsMapLayer::VectorLayer )
{
return;
}

0 comments on commit c22c0d9

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