Skip to content


Browse files Browse the repository at this point in the history
Don't append "Missing group" to non-standard expression groups, so th…
…at python plugins which provide expressions can create their own groups
  • Loading branch information
nyalldawson committed Jun 4, 2013
1 parent 55c76ca commit 068da60
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/core/qgsexpression.cpp
Expand Up @@ -2380,5 +2380,8 @@ QString QgsExpression::group( QString name )
gGroups.insert( "Record", QObject::tr( "Record" ) );

return gGroups.value( name, QObject::tr( "Missing group %1" ).arg( name ) );
//return the translated name for this group. If group does not
//have a translated name in the gGroups hash, return the name
return gGroups.value( name, name );

0 comments on commit 068da60

Please sign in to comment.