Yes, it is a simple exchange: “Thank you”; “You’re welcome ... If it had been phrased as “I appreciate your taking the trouble to help me,” you might even have thought it graceful.