[Summary] Bug fix #45729 "Unsupported files should be forbidden to load from "open saved session" menu"

[Feature reviewed] MKosharnyy
[Reviewed] VKamyshniy
This commit is contained in:
Nikolay 2015-01-26 17:13:50 +02:00
parent f76ae60204
commit b5572bf605

View file

@ -72,6 +72,7 @@ ARDOUR::open_file_dialog (std::string initial_path, std::string title)
ofn.nMaxFile = _MAX_PATH;
ofn.lpstrTitle = title.c_str();
ofn.Flags = OFN_PATHMUSTEXIST;
ofn.lpstrFilter = " \0*.ardour\0";
// Check on valid path
WIN32_FIND_DATA FindFileData;