def focusOutEvent(self, event):
        self.editor.has_focus = False
        self.update()

    #---------------------------------------------------------------------------
    #  Handles the user double clicking the control to clear its contents:
    #---------------------------------------------------------------------------
Handles losing the focus.
dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/key_binding_editor.py/KeyBindingCtrl.focusOutEvent