From feb5dfe1ca868998a28aadae17ba81dcaf9e1cd1 Mon Sep 17 00:00:00 2001 From: "chunmao.guo" Date: Wed, 19 Apr 2023 15:36:34 +0800 Subject: [PATCH] FIX: [STUDIO-2741] use default verb to call ShellExecuteEx Change-Id: Ibbcb59b6fdcf28154b24566560cade3b9b889548 --- src/slic3r/GUI/ImageGrid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/ImageGrid.cpp b/src/slic3r/GUI/ImageGrid.cpp index 49e02c85f..ae0722b76 100644 --- a/src/slic3r/GUI/ImageGrid.cpp +++ b/src/slic3r/GUI/ImageGrid.cpp @@ -172,7 +172,7 @@ void Slic3r::GUI::ImageGrid::DoAction(size_t index, int action) } #ifdef __WXMSW__ 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); #else wxShell("open " + file.path);