Fixed regression for save session file

Fixes #3029, closes #3032
This commit is contained in:
SinghRajenM 2017-03-14 00:31:26 +05:30 committed by Don HO
parent 3661527fca
commit 65a90fd91a

View File

@ -1881,6 +1881,7 @@ const TCHAR * Notepad_plus::fileSaveSession(size_t nbFile, TCHAR ** fileNames)
sessionExt += TEXT(".");
sessionExt += ext;
fDlg.setExtFilter(TEXT("Session file"), sessionExt.c_str(), NULL);
fDlg.setExtIndex(0); // 0 index for "custom extention types"
}
fDlg.setExtFilter(TEXT("All types"), TEXT(".*"), NULL);
sessionFileName = fDlg.doSaveDlg();