Merge branch 'rr1-maint'
This commit is contained in:
commit
1d9fdedbb3
1 changed files with 3 additions and 1 deletions
|
@ -679,7 +679,9 @@ std::string pick_file(wxWindow* parent, const std::string& title, const std::str
|
|||
wxString _title = towxstring(title);
|
||||
wxString _startdir = towxstring(startdir);
|
||||
std::string filespec;
|
||||
if(ext != "")
|
||||
if(ext == "lsmv" && !forsave)
|
||||
filespec = "lsmv files|*.lsmv|lsmv backup files|*.lsmv.backup|All files|*";
|
||||
else if(ext != "")
|
||||
filespec = ext + " files|*." + ext + "|All files|*";
|
||||
else
|
||||
filespec = "All files|*";
|
||||
|
|
Loading…
Add table
Reference in a new issue