An equipment operator's left middle finger was pinched/smashed while positioning the latch bar on a shovel dipper to change the shim pack. When the latch-lever was lowered onto the prop device, the prop shifted and pinched the technician's finger. The result was a laceration that required stitches.