mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fix memory leak
This commit is contained in:
parent
09c2daa1c1
commit
3195c82ec1
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user