mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 02:29:04 +08:00
Do not show error page when not webview shown.
This commit is contained in:
parent
dbb298e1be
commit
b402c42e75
@ -184,7 +184,7 @@ void WebViewPanel::on_idle(wxIdleEvent& WXUNUSED(evt))
|
||||
} else {
|
||||
wxSetCursor(wxNullCursor);
|
||||
|
||||
if (m_load_error_page) {
|
||||
if (m_shown && m_load_error_page) {
|
||||
m_load_error_page = false;
|
||||
load_url(GUI::format_wxstr("file://%1%/web/connection_failed.html", boost::filesystem::path(resources_dir()).generic_string()));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user