Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Followup 20197c2, fix orphaned highlights remaining on maps
(cherry-picked from ae2c06c)
  • Loading branch information
nyalldawson committed May 9, 2017
1 parent b19213e commit 8309c3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/qgsfeatureaction.cpp
Expand Up @@ -22,6 +22,7 @@
#include "qgsguivectorlayertools.h"
#include "qgsidentifyresultsdialog.h"
#include "qgslogger.h"
#include "qgshighlight.h"
#include "qgsmapcanvas.h"
#include "qgsproject.h"
#include "qgsvectordataprovider.h"
Expand Down Expand Up @@ -104,7 +105,9 @@ bool QgsFeatureAction::viewFeatureForm( QgsHighlight *h )
QgsAttributeDialog *dialog = QgisApp::instance()->findChild<QgsAttributeDialog *>( name );
if ( dialog )
{
delete h;
dialog->raise();
dialog->activateWindow();
return true;
}

Expand Down

0 comments on commit 8309c3c

Please sign in to comment.