mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-27 00:47:43 +01:00
[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:
parent
f76ae60204
commit
b5572bf605
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue