mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-22 21:34:58 +02:00
parent
9210bd37b6
commit
e9c0ee4866
@ -1913,7 +1913,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.setExtIndex(0); // 0 index for "custom extension types"
|
||||
}
|
||||
fDlg.setExtFilter(TEXT("All types"), TEXT(".*"), NULL);
|
||||
sessionFileName = fDlg.doSaveDlg();
|
||||
|
@ -1381,6 +1381,7 @@ INT_PTR CALLBACK UserDefineDialog::run_dlgProc(UINT message, WPARAM wParam, LPAR
|
||||
|
||||
FileDialog fDlg(_hSelf, ::GetModuleHandle(NULL));
|
||||
fDlg.setExtFilter(TEXT("UDL"), TEXT(".xml"), NULL);
|
||||
fDlg.setExtIndex(0); // 0 Default index else file will be saved without extension
|
||||
TCHAR *fn = fDlg.doSaveDlg();
|
||||
if (!fn) break;
|
||||
generic_string fileName2save = fn;
|
||||
|
Loading…
x
Reference in New Issue
Block a user