Skip to content
Permalink
Browse files

[3d] Rename "Reset view" to "Zoom Full" (fixes #17568)

  • Loading branch information
wonder-sk committed Nov 30, 2017
1 parent 43fd351 commit 306b3fac305bc1a2afa8fc6e33affc46791244e0
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/app/3d/qgs3dmapcanvasdockwidget.cpp
@@ -38,8 +38,10 @@ Qgs3DMapCanvasDockWidget::Qgs3DMapCanvasDockWidget( QWidget *parent )

QToolBar *toolBar = new QToolBar( contentsWidget );
toolBar->setIconSize( QgisApp::instance()->iconSize( true ) );
toolBar->addAction( QgsApplication::getThemeIcon( QStringLiteral( "mActionZoomFullExtent.svg" ) ), "Reset view", this, &Qgs3DMapCanvasDockWidget::resetView );
toolBar->addAction( QgsApplication::getThemeIcon( QStringLiteral( "mIconProperties.svg" ) ), "Configure", this, &Qgs3DMapCanvasDockWidget::configure );
toolBar->addAction( QgsApplication::getThemeIcon( QStringLiteral( "mActionZoomFullExtent.svg" ) ),
tr( "Zoom Full" ), this, &Qgs3DMapCanvasDockWidget::resetView );
toolBar->addAction( QgsApplication::getThemeIcon( QStringLiteral( "mIconProperties.svg" ) ),
tr( "Configure" ), this, &Qgs3DMapCanvasDockWidget::configure );

mCanvas = new Qgs3DMapCanvas( contentsWidget );
mCanvas->setMinimumSize( QSize( 200, 200 ) );

0 comments on commit 306b3fa

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