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 8309c3c2c4c7b8fa283515aa782ff8629c77df8a
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/app/qgsfeatureaction.cpp
@@ -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.