Fixing the widget edition bug.
Merge pull request #461 from ngodfraind/fixing-widget-edit

Fixing the widget edition bug.