Skip to content

Commit

Permalink
fix visibility tracking of tile scale widget
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Oct 14, 2012
1 parent 7748c57 commit 813f1bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/core/raster/qgsrasteriterator.h
Expand Up @@ -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*/
Expand Down
2 changes: 1 addition & 1 deletion src/providers/wms/qgstilescalewidget.cpp
Expand Up @@ -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() );
Expand Down

0 comments on commit 813f1bd

Please sign in to comment.