Skip to content

Commit

Permalink
Make sure new map dock views use correct icon size
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 17, 2017
1 parent a369c9b commit 2d441a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgsmapcanvasdockwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ QgsMapCanvasDockWidget::QgsMapCanvasDockWidget( const QString &name, QWidget *pa
static_cast< QVBoxLayout * >( mContents->layout() )->setSpacing( 0 );

setWindowTitle( name );
mToolbar->setIconSize( QgisApp::instance()->iconSize( true ) );

mMapCanvas = new QgsMapCanvas( this );
mXyMarker = new QgsVertexMarker( mMapCanvas );
mXyMarker->setIconType( QgsVertexMarker::ICON_CIRCLE );
Expand Down

0 comments on commit 2d441a8

Please sign in to comment.