<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def tab_change(self, event):
 """When tab changes remove error, and enable widget if on url tab"""

        self.remove_error()
        if event.new == 1:
            self.widget.disabled = False