def keyUp(self, evt):
        """
        Triggered on releasing a key,
        sets the corresponding variable to False
        """
        keyname = evt.dict.get('keyname', None) or self.root.getKey(evt)
        if keyname == config.keys.pickBlock.get():
            self.pickBlockKey = False
        if keyname == config.keys.brushLineTool.get():
            self.lineToolKey = False
            self.draggedPositions = []

        Triggered on releasing a key,
        sets the corresponding variable to False
        
editortools/brush.py