mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 14:13:57 -06:00
Notice dialog when opening any link outside PrusaSlicer
This commit is contained in:
parent
ca098d5763
commit
e6bae06557
6 changed files with 27 additions and 10 deletions
|
@ -236,8 +236,7 @@ bool tags_check(const std::string& disabled_tags, const std::string& enabled_tag
|
|||
}
|
||||
void launch_browser_if_allowed(const std::string& url)
|
||||
{
|
||||
if (wxGetApp().app_config->get("suppress_hyperlinks") != "1")
|
||||
wxLaunchDefaultBrowser(url);
|
||||
wxGetApp().open_browser_with_warning_dialog(url);
|
||||
}
|
||||
} //namespace
|
||||
HintDatabase::~HintDatabase()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue