mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-11 07:56:27 +01:00
clean up use of open_file_dialog() modified API
This commit is contained in:
parent
637f3e9c2d
commit
522a00ed52
1 changed files with 0 additions and 11 deletions
|
|
@ -1408,18 +1408,7 @@ ARDOUR_UI::open_session ()
|
|||
}
|
||||
|
||||
string session_path = "";
|
||||
#ifdef __APPLE__
|
||||
session_path = ARDOUR::open_file_dialog(Config->get_default_session_parent_dir(), _("Select Saved Session"));
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
// Open the file save dialog, and choose the file name
|
||||
string fileName;
|
||||
if (open_file_dialog(fileName, Config->get_default_session_parent_dir(), _("Select Saved Session"))) {
|
||||
|
||||
session_path = fileName;
|
||||
}
|
||||
#endif
|
||||
|
||||
// cancel was pressed
|
||||
if(session_path == "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue