Skip to content

Commit

Permalink
Followup 20197c2, fix orphaned highlights remaining on maps
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 27, 2017
1 parent cb0a1f8 commit ae2c06c
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 @@ -105,7 +106,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 ae2c06c

Please sign in to comment.