Summary was not recalculated after canceling the change of quantity on the calculation line

After changing the quantity on the calculation line, the Summary, which is calculated based on the entered quantity, was not recalculated to the original quantity when performing the Cancel action.