Skip to content

Commit 6dfcf40

Browse files
committed
fix 20197c2 (refs #13520)
1 parent 33c63d5 commit 6dfcf40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/app/qgsfeatureaction.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ QgsAttributeDialog *QgsFeatureAction::newDialog( bool cloneFeature )
6666

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

7171
QList<QgsAction> actions = mLayer->actions()->actions( QStringLiteral( "Feature" ) );
7272
if ( !actions.isEmpty() )
@@ -101,7 +101,7 @@ bool QgsFeatureAction::viewFeatureForm( QgsHighlight *h )
101101
if ( !mLayer || !mFeature )
102102
return false;
103103

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

106106
QgsAttributeDialog *dialog = QgisApp::instance()->findChild<QgsAttributeDialog *>( name );
107107
if ( dialog )
@@ -139,7 +139,7 @@ bool QgsFeatureAction::editFeature( bool showModal )
139139
}
140140
else
141141
{
142-
QString name( QString( "featureactiondlg:%1:%2" ).arg( mLayer->id(), mFeature->id() ) );
142+
QString name( QString( "featureactiondlg:%1:%2" ).arg( mLayer->id() ).arg( mFeature->id() ) );
143143

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

0 commit comments

Comments
 (0)