[#3028] Set duration to time code when changed via user input.