Skip to content
Permalink
Browse files

Fix memory leak

  • Loading branch information
nyalldawson committed Nov 1, 2018
1 parent 09c2daa commit 3195c82ec1347dc57748f6acaa648868138b4b11
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/qgsbrowserdockwidget.cpp
@@ -517,6 +517,7 @@ void QgsBrowserDockWidget::showProperties()
if ( item->type() == QgsDataItem::Layer || item->type() == QgsDataItem::Directory )
{
QgsBrowserPropertiesDialog *dialog = new QgsBrowserPropertiesDialog( settingsSection(), this );
dialog->setAttribute( Qt::WA_DeleteOnClose );
dialog->setItem( item );
dialog->show();
}

0 comments on commit 3195c82

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