Skip to content

Commit 813f1bd

Browse files
committed
fix visibility tracking of tile scale widget
1 parent 7748c57 commit 813f1bd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/core/raster/qgsrasteriterator.h

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ class CORE_EXPORT QgsRasterIterator
5757
@param bandNumber band to read
5858
@param nCols number of columns on output device
5959
@param nRows number of rows on output device
60+
@param block address of block pointer
6061
@param topLeftCol top left column
6162
@param topLeftRow top left row
6263
@return false if the last part was already returned*/

src/providers/wms/qgstilescalewidget.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ void QgsTileScaleWidget::showTileScale( QMainWindow *mainWindow )
158158

159159
dock->setWidget( tws );
160160

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

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

0 commit comments

Comments
 (0)