Yes, this can also happen when the 12V battery is disconnected also, and is discussed in this thread:http://www.mynissanleaf.com/viewtopic.php?f=30&t=3964
Slightly different procedure from that:
1. The calibration of the driver's window Auto-Up and Auto-Down is (can be) lost. Re-Calibrate by opening all the way (manual mode), then close the window (all the way up) and continue to hold the UP button for an additional 3 seconds.