Don't disable style dock when no layer is selected

Since the style dock has it's own layer selector, it should always
be enabled and not tied to an active legend layer
This commit is contained in:
Nyall Dawson 2016-07-05 10:37:55 +10:00
parent 5c270ebeb0
commit d8f2462b69

View File

@ -5833,7 +5833,6 @@ void QgisApp::setMapStyleDockLayer( QgsMapLayer* layer )
{
if ( !layer )
{
mMapStyleWidget->setEnabled( false );
return;
}