mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-17 11:47:54 -06:00
FIX: [STUDIO-2741] use default verb to call ShellExecuteEx
Change-Id: Ibbcb59b6fdcf28154b24566560cade3b9b889548
This commit is contained in:
parent
bbea6f924a
commit
feb5dfe1ca
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ void Slic3r::GUI::ImageGrid::DoAction(size_t index, int action)
|
||||||
}
|
}
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
auto wfile = boost::filesystem::path(file.path).wstring();
|
auto wfile = boost::filesystem::path(file.path).wstring();
|
||||||
SHELLEXECUTEINFO info{sizeof(info), 0, NULL, L"open", wfile.c_str(), L"", SW_HIDE};
|
SHELLEXECUTEINFO info{sizeof(info), 0, NULL, NULL, wfile.c_str(), L"", SW_HIDE};
|
||||||
::ShellExecuteEx(&info);
|
::ShellExecuteEx(&info);
|
||||||
#else
|
#else
|
||||||
wxShell("open " + file.path);
|
wxShell("open " + file.path);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue