[Summary] Refactoring of OpenFileDialog on OS Windows

[Review] Nobody
This commit is contained in:
nikolay 2014-07-09 15:25:57 +03:00
parent 670be5897f
commit 32563eaa90

View file

@ -1589,11 +1589,11 @@ ARDOUR_UI::open_session ()
#ifdef _WIN32
// Open the file save dialog, and choose the file name
// string fileName;
// if (open_file_dialog(fileName, Config->get_default_open_path(), _("Select Saved Session"))) {
//
// session_path = fileName;
// }
string fileName;
if (open_file_dialog(fileName, Config->get_default_open_path(), _("Select Saved Session"))) {
session_path = fileName;
}
#endif
// cancel was pressed