Fixed it for bug #8365 that the export can be either live data, or saved data.