I have a project open with 6 layers (MapInfo .tab format), have set the style for each layer and added labels for 1 of them. So for a simple project the .qgs file is about 2000 lines long and among other things I can't quite make sense of there are 6 (duplicate) examples of a Python function my_form_open(dialog, layer, feature)
in the .qgs file (1 for every layer?). Does anyone know why they are there in the first place and then why would it write out the example 6 times...? the function doesn't have a return
statement so it wouldn't work anyway