Skip to content
Permalink
Browse files
Followup 20197c2, fix orphaned highlights remaining on maps
  • Loading branch information
nyalldawson committed Apr 27, 2017
1 parent cb0a1f8 commit ae2c06c1fe88a5bf4cfa4b7c91018e9e310ddf63
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"
@@ -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;
}

0 comments on commit ae2c06c

Please sign in to comment.