Skip to content
Permalink
Browse files

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 46ff59bbfef34f808bbc8e4664a58c2431a2e89f
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/app/qgisapp.cpp
@@ -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 );
@@ -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 );

0 comments on commit 46ff59b

Please sign in to comment.
You can’t perform that action at this time.