Skip to content

Commit

Permalink
Fix crash when changing symbol types on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 12, 2015
1 parent ec9fd86 commit de8b045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/symbology-ng/qgssymbolv2selectordialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ void QgsSymbolV2SelectorDialog::setWidget( QWidget* widget )
{
int index = stackedWidget->addWidget( widget );
stackedWidget->setCurrentIndex( index );
delete mPresentWidget;
mPresentWidget->deleteLater();
mPresentWidget = widget;
}

Expand Down

0 comments on commit de8b045

Please sign in to comment.