Skip to content
Permalink
Browse files

fix visibility tracking of tile scale widget

  • Loading branch information
jef-n committed Oct 14, 2012
1 parent 7748c57 commit 813f1bd3855d53b7da3b25c5186c5817a7333131
Showing with 2 additions and 1 deletion.
  1. +1 −0 src/core/raster/qgsrasteriterator.h
  2. +1 −1 src/providers/wms/qgstilescalewidget.cpp
@@ -57,6 +57,7 @@ class CORE_EXPORT QgsRasterIterator
@param bandNumber band to read
@param nCols number of columns on output device
@param nRows number of rows on output device
@param block address of block pointer
@param topLeftCol top left column
@param topLeftRow top left row
@return false if the last part was already returned*/
@@ -158,7 +158,7 @@ void QgsTileScaleWidget::showTileScale( QMainWindow *mainWindow )

dock->setWidget( tws );

connect( dock->toggleViewAction(), SIGNAL( triggered( bool ) ), tws, SLOT( scaleEnabled( bool ) ) );
connect( dock, SIGNAL( visibilityChanged( bool ) ), tws, SLOT( scaleEnabled( bool ) ) );

QSettings settings;
dock->setVisible( settings.value( "/UI/tileScaleEnabled", false ).toBool() );

0 comments on commit 813f1bd

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