Skip to content
Permalink
Browse files

Restore canvas colour for overview window

  • Loading branch information
NathanW2 committed Sep 12, 2014
1 parent 380baa2 commit 5b3e0144e83dd0a0da69757e9b434ce6399079c5
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgsmapoverviewcanvas.cpp
@@ -75,8 +75,6 @@ QgsMapOverviewCanvas::QgsMapOverviewCanvas( QWidget * parent, QgsMapCanvas* mapC
setObjectName( "theOverviewCanvas" );
mPanningWidget = new QgsPanningWidget( this );

setBackgroundColor( palette().window().color() );

mSettings.setFlag( QgsMapSettings::DrawLabeling, false );

connect( mMapCanvas, SIGNAL( extentsChanged() ), this, SLOT( drawExtentRect() ) );
@@ -281,6 +279,8 @@ void QgsMapOverviewCanvas::refresh()
connect( mJob, SIGNAL( finished() ), this, SLOT( mapRenderingFinished() ) );
mJob->start();

setBackgroundColor( mMapCanvas->mapSettings().backgroundColor() );

// schedule repaint
update();

0 comments on commit 5b3e014

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