Skip to content

Commit

Permalink
Don't disable style dock when no layer is selected
Browse files Browse the repository at this point in the history
Since the style dock has it's own layer selector, it should always
be enabled and not tied to an active legend layer
  • Loading branch information
nyalldawson committed Jul 5, 2016
1 parent 5c270eb commit d8f2462
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -5833,7 +5833,6 @@ void QgisApp::setMapStyleDockLayer( QgsMapLayer* layer )
{
if ( !layer )
{
mMapStyleWidget->setEnabled( false );
return;
}

Expand Down

0 comments on commit d8f2462

Please sign in to comment.