Indeed key_press_event function is triggered twice so i do not know where is the bug, but sure there is.
Indeed key_press_event function is triggered twice so i do not know where is the bug, but sure there is.