Skip to content
Permalink
Browse files

[modeler] Variables and undo dock can be closed

  • Loading branch information
nyalldawson committed Mar 17, 2020
1 parent d83da3c commit 105418d8f7005a3ffdd73974242e537568caab71
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/processing/models/qgsmodeldesignerdialog.cpp
@@ -98,7 +98,7 @@ QgsModelDesignerDialog::QgsModelDesignerDialog( QWidget *parent, Qt::WindowFlags
mPropertiesDock->setFeatures( QDockWidget::DockWidgetFloatable | QDockWidget::DockWidgetMovable );
mInputsDock->setFeatures( QDockWidget::DockWidgetFloatable | QDockWidget::DockWidgetMovable );
mAlgorithmsDock->setFeatures( QDockWidget::DockWidgetFloatable | QDockWidget::DockWidgetMovable );
mVariablesDock->setFeatures( QDockWidget::DockWidgetFloatable | QDockWidget::DockWidgetMovable );
mVariablesDock->setFeatures( QDockWidget::DockWidgetFloatable | QDockWidget::DockWidgetMovable | QDockWidget::DockWidgetClosable );

mAlgorithmsTree->header()->setVisible( false );
mAlgorithmSearchEdit->setShowSearchIcon( true );
@@ -184,7 +184,7 @@ QgsModelDesignerDialog::QgsModelDesignerDialog( QWidget *parent, Qt::WindowFlags
mUndoDock->setObjectName( QStringLiteral( "UndoDock" ) );
mUndoView = new QUndoView( mUndoStack, this );
mUndoDock->setWidget( mUndoView );
mUndoDock->setFeatures( QDockWidget::DockWidgetFloatable | QDockWidget::DockWidgetMovable );
mUndoDock->setFeatures( QDockWidget::DockWidgetFloatable | QDockWidget::DockWidgetMovable | QDockWidget::DockWidgetClosable );
addDockWidget( Qt::DockWidgetArea::LeftDockWidgetArea, mUndoDock );

tabifyDockWidget( mUndoDock, mPropertiesDock );

0 comments on commit 105418d

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