Navigation Menu

Skip to content

Commit

Permalink
fix 20197c2 (refs #13520)
Browse files Browse the repository at this point in the history
(cherry picked from commit 6dfcf40)
  • Loading branch information
jef-n committed Jun 30, 2017
1 parent 41ceacd commit 392b638
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/qgsfeatureaction.cpp
Expand Up @@ -64,7 +64,7 @@ QgsAttributeDialog *QgsFeatureAction::newDialog( bool cloneFeature )

QgsAttributeDialog *dialog = new QgsAttributeDialog( mLayer, f, cloneFeature, parentWidget(), true, context );
dialog->setWindowFlags( dialog->windowFlags() | Qt::Tool );
dialog->setObjectName( QString( "featureactiondlg:%1:%2" ).arg( mLayer->id(), f->id() ) );
dialog->setObjectName( QString( "featureactiondlg:%1:%2" ).arg( mLayer->id() ).arg( f->id() ) );

if ( mLayer->actions()->size() > 0 )
{
Expand Down Expand Up @@ -100,7 +100,7 @@ bool QgsFeatureAction::viewFeatureForm( QgsHighlight *h )
if ( !mLayer || !mFeature )
return false;

QString name( QString( "featureactiondlg:%1:%2" ).arg( mLayer->id(), mFeature->id() ) );
QString name( QString( "featureactiondlg:%1:%2" ).arg( mLayer->id() ).arg( mFeature->id() ) );

QgsAttributeDialog *dialog = QgisApp::instance()->findChild<QgsAttributeDialog *>( name );
if ( dialog )
Expand Down Expand Up @@ -138,7 +138,7 @@ bool QgsFeatureAction::editFeature( bool showModal )
}
else
{
QString name( QString( "featureactiondlg:%1:%2" ).arg( mLayer->id(), mFeature->id() ) );
QString name( QString( "featureactiondlg:%1:%2" ).arg( mLayer->id() ).arg( mFeature->id() ) );

QgsAttributeDialog *dialog = QgisApp::instance()->findChild<QgsAttributeDialog *>( name );
if ( dialog )
Expand Down

0 comments on commit 392b638

Please sign in to comment.