Corrected small bug where the textbox value is not commited correctly when we click a segment in the property inspector.