Skip to content
Permalink
Browse files

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 068da60570042edb63ce26e04195a8a856b4e25f
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/core/qgsexpression.cpp
@@ -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
//unchanged
return gGroups.value( name, name );
}

0 comments on commit 068da60

Please sign in to comment.
You can’t perform that action at this time.