We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1db348 commit 82b68ceCopy full SHA for 82b68ce
source/globals.cpp
@@ -28,8 +28,8 @@ void reveal_in_explorer(const std::filesystem::path& path) {
28
#else
29
if (std::filesystem::exists(path)) {
30
#if defined __linux__
31
- std::string command = "xdg-open \"" + path.string() + "\"";
32
- launch_process(command);
+ std::string command = "xdg-open \"" + path.string() + "\"";
+ launch_process(command);
33
#elif defined _WIN32
34
35
PIDLIST_ABSOLUTE pidl;
@@ -45,12 +45,12 @@ void reveal_in_explorer(const std::filesystem::path& path) {
45
}
46
47
48
+#endif
49
50
else {
51
wxMessageBox("The item at " + path.string() + " could not be found.", "Cannot Reveal Item", wxOK | wxICON_ERROR);
52
53
#endif
-#endif
54
55
56
long wxListCtrl_get_selected(wxListCtrl* listCtrl) {
0 commit comments