FIX: open more staffpick
Change-Id: I955cf2aa774ddedcc42ac68e367232c106b18988
This commit is contained in:
parent
a2386a3c3b
commit
874081e8d7
|
@ -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 (...) {
|
catch (...) {
|
||||||
|
|
Loading…
Reference in New Issue