Fixed: the DIRECTORY attribute was not being updated when a new file filename was selected in IupFileDlg.