Skip to content
Permalink
Browse files

fix #2435

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12933 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Feb 12, 2010
1 parent 8f06089 commit e3a71fddc95b8119175c0eb59e1ca5da63e14762
Showing with 3 additions and 1 deletion.
  1. +1 −0 src/app/legend/qgslegend.cpp
  2. +1 −1 src/app/legend/qgslegend.h
  3. +1 −0 src/app/qgisapp.cpp
@@ -1712,6 +1712,7 @@ bool QgsLegend::checkLayerOrderUpdate()
{
// z-order has changed - update layer set
updateMapCanvasLayerSet();
emit zOrderChanged();
return true;
}
return false;
@@ -473,7 +473,7 @@ class QgsLegend : public QTreeWidget
signals:
void itemMoved( QModelIndex oldIndex, QModelIndex newIndex );

void zOrderChanged( QgsLegend * lv );
void zOrderChanged();

//! Emited whenever current (selected) layer changes
// the pointer to layer can be null if no layer is selected
@@ -1834,6 +1834,7 @@ void QgisApp::setupConnections()
// track of canvas layers and extents and mark project dirty on changes
connect( mMapCanvas, SIGNAL( extentsChanged() ), this, SLOT( markDirty() ) );
connect( mMapCanvas, SIGNAL( layersChanged() ), this, SLOT( markDirty() ) );
connect( mMapLegend, SIGNAL( zOrderChanged() ), this, SLOT( markDirty() ) );

connect( mRenderSuppressionCBox, SIGNAL( toggled( bool ) ), mMapCanvas, SLOT( setRenderFlag( bool ) ) );
//

0 comments on commit e3a71fd

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