Skip to content
Permalink
Browse files

[symbol selector dialog] avoid QCoreApplication::postEvent: Unexpecte…

…d null receiver
  • Loading branch information
slarosa committed Oct 18, 2015
1 parent cee63c8 commit a94a788dfa1833aa3b4b9d50760fd44aaecba578
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gui/symbology-ng/qgssymbolv2selectordialog.cpp
@@ -482,7 +482,8 @@ void QgsSymbolV2SelectorDialog::setWidget( QWidget* widget )
{
int index = stackedWidget->addWidget( widget );
stackedWidget->setCurrentIndex( index );
mPresentWidget->deleteLater();
if ( mPresentWidget )
mPresentWidget->deleteLater();
mPresentWidget = widget;
}

0 comments on commit a94a788

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