Skip to content

Commit

Permalink
followup faf4b7f
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Sep 18, 2014
1 parent faf4b7f commit c665805
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/gui/qgsidentifymenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,7 @@ QList<QgsMapToolIdentify::IdentifyResult> QgsIdentifyMenu::exec( const QList<Qgs
// delete actions
clear();
// also remove the QgsActionMenu
QList<QgsActionMenu*> actionMenus = findChildren<QgsActionMenu*>();
Q_FOREACH ( QgsActionMenu* actionMenu, actionMenus )
{
delete actionMenu;
}
qDeleteAll( findChildren<QgsActionMenu*>() );

if ( externalAction && !mResultsIfExternalAction )
{
Expand Down

0 comments on commit c665805

Please sign in to comment.