Skip to content

Commit c22c0d9

Browse files
committedJan 20, 2014
feature action: fix crash at launch
1 parent 9f3e8f4 commit c22c0d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8778,7 +8778,7 @@ void QgisApp::refreshActionFeatureAction()
87788778
{
87798779
QgsMapLayer* layer = activeLayer();
87808780

8781-
if ( layer->type() != QgsMapLayer::VectorLayer )
8781+
if ( layer == 0 || layer->type() != QgsMapLayer::VectorLayer )
87828782
{
87838783
return;
87848784
}

0 commit comments

Comments
 (0)