Yep, it will be fine. A lot of aquatic plants leaves will melt when transfered into a new tank. As long as the stem remains intact it should grow back just fine.
A way to prevent melt in the future is to acclimate plants the same way you acclimate fish. Change the temps slowly, and add/remove the water it came in on a drip system instead of just plopping it in a new tank of water. You'll preserve more of the plant this way but will still likely loose a few leaves.