ENH: Optimize WebView FileType

JIRA: none
Change-Id: I70b5e8586332df9892687ae165212aca9e5e3427
This commit is contained in:
zorro.zhang 2024-08-16 16:14:25 +08:00 committed by Lane.Wei
parent 258fe59f1e
commit 264fd5a6b4
1 changed files with 3 additions and 1 deletions

View File

@ -922,7 +922,9 @@ void WebViewPanel::OnNavigationRequest(wxWebViewEvent& evt)
surl.EndsWith(".3mf") || surl.EndsWith(".3mf") ||
surl.EndsWith(".xlsx") || surl.EndsWith(".xlsx") ||
surl.EndsWith(".xls") || surl.EndsWith(".xls") ||
surl.EndsWith(".txt") surl.EndsWith(".txt") ||
surl.EndsWith("bbscfg") ||
surl.EndsWith("bbsflmt")
) )
{ {
wxLaunchDefaultBrowser(url); wxLaunchDefaultBrowser(url);