Skip to content

Commit

Permalink
Added coding utf8 header to example
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Nov 5, 2015
1 parent d2da60a commit 42239bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsfieldsproperties.cpp
Expand Up @@ -122,7 +122,7 @@ QgsFieldsProperties::QgsFieldsProperties( QgsVectorLayer *layer, QWidget* parent
QString code( layer->editFormInitCode() );
if ( code.isEmpty( ) )
{
code.append( tr( "\"\"\"\n"
code.append( tr( "# -*- coding: utf-8 -*-\n\"\"\"\n"
"QGIS forms can have a Python function that is called when the form is\n"
"opened.\n"
"\n"
Expand Down

0 comments on commit 42239bc

Please sign in to comment.