Fixed the problem in the form's __init__() method.
Merge branch 'develop'