Skip to content
Permalink
Browse files

Remove 3D canvas widget when the dock is closed (just like 2d canvas)

  • Loading branch information
wonder-sk committed Aug 11, 2017
1 parent 0f692bb commit 7ad57e641034cdb267303fdcbbe9836564db550a
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/3d/qgs3dmapcanvasdockwidget.cpp
@@ -15,6 +15,8 @@ Qgs3DMapCanvasDockWidget::Qgs3DMapCanvasDockWidget( QWidget *parent )
: QgsDockWidget( parent )
, mMainCanvas( nullptr )
{
setAttribute( Qt::WA_DeleteOnClose ); // removes the dock widget from main window when

QWidget *contentsWidget = new QWidget( this );

QToolBar *toolBar = new QToolBar( contentsWidget );

0 comments on commit 7ad57e6

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