FIX: open more staffpick

Change-Id: I955cf2aa774ddedcc42ac68e367232c106b18988
This commit is contained in:
chunmao.guo 2023-04-10 14:14:53 +08:00 committed by Lane.Wei
parent a2386a3c3b
commit 874081e8d7

View file

@ -3808,6 +3808,12 @@ std::string GUI_App::handle_web_request(std::string cmd)
}
}
}
else if (command_str.compare("common_openurl") == 0) {
boost::optional<std::string> path = root.get_optional<std::string>("url");
if (path.has_value()) {
wxLaunchDefaultBrowser(path.value());
}
}
}
}
catch (...) {