Add Recently Loaded Files

Hello,
I’ve add these to .slicerrc.py to open the DICOM import popup-
slicer.util.selectModule(‘DICOM’)
slicer.util.getModuleGui(‘DICOM’).importFolder()

Now, I wanted to add “recently opened DICOM” in the pop up. What steps to be followed?

By default, Slicer shows imported patients based on the import time, so you will always see the patient that you have just imported at the top of the list.