Skip to content
Permalink
Browse files

Added coding utf8 header to example

  • Loading branch information
elpaso committed Nov 5, 2015
1 parent d2da60a commit 42239bcd9664df9d15c0c158ba8f9849503c9915
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsfieldsproperties.cpp
@@ -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"

0 comments on commit 42239bc

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