add block/unblock of keyboard shortcut

def blockSignals(self, boolean):
        """add block/unblock of keyboard shortcut"""
        pgParameter.blockSignals(self, boolean)
        try:
            item = self.items[0]
            if item.key:
                item.key.blockSignals(boolean)
        except:
            pass