Floor panels are shown, which are provided with a vertical locking system on short edges comprising a displaceable tongue that is displaced in one direction into a tongue groove during vertical displacement of two panels.