mirror of
https://github.com/leozide/leocad
synced 2025-02-06 08:46:06 +01:00
Display all supported formats by default when in the Open File Dialog.
This commit is contained in:
parent
05139f377b
commit
25bf7e5b86
1 changed files with 18 additions and 18 deletions
|
@ -865,7 +865,7 @@ bool SystemDoDialog(int nMode, void* param)
|
|||
case LC_DLG_FILE_OPEN_PROJECT:
|
||||
{
|
||||
CFileDialog dlg(TRUE, "*.lcd", NULL, OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT,
|
||||
"LeoCAD Projects (*.lcd)|*.lcd|LDraw Files (*.dat;*.ldr;*.mpd)|*.dat;*.ldr;*.mpd|All Files (*.*)|*.*||", AfxGetMainWnd());
|
||||
"Supported Formats (*.lcd;*.dat;*.ldr;*.mpd)|*.lcd;*.dat;*.ldr;*.mpd|LeoCAD Projects (*.lcd)|*.lcd|LDraw Files (*.dat;*.ldr;*.mpd)|*.dat;*.ldr;*.mpd|All Files (*.*)|*.*||", AfxGetMainWnd());
|
||||
dlg.m_ofn.Flags |= (OFN_ENABLETEMPLATE|OFN_HIDEREADONLY|OFN_FILEMUSTEXIST|OFN_ENABLEHOOK|OFN_EXPLORER);
|
||||
dlg.m_ofn.hInstance = AfxGetInstanceHandle();
|
||||
dlg.m_ofn.lpfnHook = OFNOpenHookProc;
|
||||
|
|
Loading…
Add table
Reference in a new issue