Skip to content
Permalink
Browse files
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.
@@ -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"
@@ -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;
}

0 comments on commit 8309c3c

Please sign in to comment.