mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
[Summary] Adding action, applied to MEDIA button (for MACOS)
This commit is contained in:
parent
ea4a1948a4
commit
aa44a0e796
1 changed files with 2 additions and 2 deletions
|
|
@ -4611,10 +4611,10 @@ ARDOUR_UI::open_media_folder ()
|
|||
return;
|
||||
}
|
||||
|
||||
//dbg_msg ("ARDOUR_UI::open_media_folder () : \n" + _session->session_directory ().sources_root ());
|
||||
#if defined (PLATFORM_WINDOWS)
|
||||
ShellExecute (NULL, "open", _session->session_directory ().sources_root ().c_str (), NULL, NULL, SW_SHOW);
|
||||
#elif defined (__APPLE__)
|
||||
std::string command = "open \"" + _session->session_directory ().sources_root () + "\"";
|
||||
system (command.c_str ());
|
||||
#endif
|
||||
//dbg_msg ("ARDOUR_UI::open_media_folder () : \n" + _session->session_directory ().sources_root ());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue