Skip to content
Permalink
Browse files

Fix memory leak

(cherry picked from commit 3195c82)
  • Loading branch information
nyalldawson committed Nov 1, 2018
1 parent ad13e5d commit 32f3198fe364af40a45949d29640fdc94614a140
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/qgsbrowserdockwidget.cpp
@@ -442,6 +442,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 32f3198

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