def _updateFromPathFilter(self):
    label = str(self.pathFilter())
    with IECore.IgnoredExceptions(KeyError):
        label = self.pathFilter().userData()['UI']['label']
    self.__checkBox.setText(label)
    invertEnabled = False
    with IECore.IgnoredExceptions(KeyError):
        invertEnabled = self.pathFilter().userData()['UI']['invertEnabled']
    self.__checkBox.setState((self.pathFilter().getEnabled() is not invertEnabled))
def _updateFromPathFilter(self):
    label = str(self.pathFilter())
    with IECore.IgnoredExceptions(KeyError):
        label = self.pathFilter().userData()['UI']['label']
    self.__checkBox.setText(label)
    invertEnabled = False
    with IECore.IgnoredExceptions(KeyError):
        invertEnabled = self.pathFilter().userData()['UI']['invertEnabled']
    self.__checkBox.setState((self.pathFilter().getEnabled() is not invertEnabled))