mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 14:31:17 +12:00
macOS: Fix browsing of directory paths with spaces (#1546)
This commit is contained in:
parent
00099c5ecc
commit
fa7ae84314
3 changed files with 6 additions and 6 deletions
|
@ -869,7 +869,7 @@ void wxTitleManagerList::OnContextMenuSelected(wxCommandEvent& event)
|
|||
case kContextMenuOpenDirectory:
|
||||
{
|
||||
const auto path = fs::is_directory(entry->path) ? entry->path : entry->path.parent_path();
|
||||
wxLaunchDefaultBrowser(wxHelper::FromUtf8(fmt::format("file:{}", _pathToUtf8(path))));
|
||||
wxLaunchDefaultApplication(wxHelper::FromPath(path));
|
||||
}
|
||||
break;
|
||||
case kContextMenuDelete:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue