Skip to content

Commit

Permalink
Fix actions are not enabled when loading layer with default style (fix
Browse files Browse the repository at this point in the history
…#13910)

(cherry-picked from 1563526)
  • Loading branch information
nyalldawson committed Jul 1, 2016
1 parent 563c470 commit 59c35df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3330,6 +3330,7 @@ bool QgisApp::addVectorLayers( const QStringList &theLayerQStringList, const QSt
bool ok;
l->loadDefaultStyle( ok );
}
activateDeactivateLayerRelatedActions( activeLayer() );

// Only update the map if we frozen in this method
// Let the caller do it otherwise
Expand Down

0 comments on commit 59c35df

Please sign in to comment.