You have the object tree open (as is in the screen shot)
After creating a new trigger TI_VG_KONT_IO via script and refreshing with F5-Key all triggers are visible. That’s OK.
But if you try to delete one of them (TIA_VG_KONT_IO), the wrong trigger (TI_VG_KONT_IO ) is going to be deleted.
The message box shows the name of the trigger that really will be deleted (TI_VG_KONT_IO ) – but that’s not the one you have chosen to be deleted.
With other words: The selection and the inside selected one are different. Maybe the internal sorting has a error.
That’s a really heavy and ugly bug.