Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove layer title from dock for now
Sets the dock tab title which means it looks crappy
when stacked.
  • Loading branch information
NathanW2 committed Apr 20, 2016
1 parent 1e5c992 commit 46ff59b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/app/qgisapp.cpp
Expand Up @@ -9917,8 +9917,6 @@ void QgisApp::activateDeactivateLayerRelatedActions( QgsMapLayer* layer )

if ( !layer )
{
mLayerTreeDock->setWindowTitle( tr( "Layers Panel" ) );

mActionSelectFeatures->setEnabled( false );
mActionSelectPolygon->setEnabled( false );
mActionSelectFreehand->setEnabled( false );
Expand Down Expand Up @@ -9992,8 +9990,6 @@ void QgisApp::activateDeactivateLayerRelatedActions( QgsMapLayer* layer )
return;
}

mLayerTreeDock->setWindowTitle( tr( "Layers Panel - %1" ).arg( layer->name() ) );

mActionLayerProperties->setEnabled( QgsProject::instance()->layerIsEmbedded( layer->id() ).isEmpty() );
mActionAddToOverview->setEnabled( true );
mActionZoomToLayer->setEnabled( true );
Expand Down

0 comments on commit 46ff59b

Please sign in to comment.