If is was a model 1911 .45, it probably wasn’t cocked and the child who was squeezing the trigger didn’t know how to deactivate the safeties.
If it was a 1911, the grip safety was off when the kid put her hands on the grips. The thumb safety would be off if the gun wasn't cocked. So if it was a 1911, the kid was saved either by the gun not being cocked or the thumb safety was on. Good thing the pistol wasn't a Glock.