mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-06 08:36:08 +08:00
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 (...) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user