BugFix - username filed was always disabled
- There was a problem with the
enabled
property of theUsername
object. The value of this property was set to true, when instance of this class was created. This property was used in theinitWidget
method. TheinitWidget
method was called from a constructor of a super class and that was a problem. When the super constructor was called, variables declared in theUsername
class were not initalized. Therefore, theenabled
property had the default value - false. - This caused the username to be always disabled.
- I discovered that the property was not actually needed, so the fix is just to remove it.