ENH: Optimize WebView FileType
JIRA: none Change-Id: I70b5e8586332df9892687ae165212aca9e5e3427
This commit is contained in:
parent
258fe59f1e
commit
264fd5a6b4
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue