Merge branch 'main' into feature/mcp

This commit is contained in:
SoftFever committed 2026-11-21 18:57:39 +08:00
commit 867ba9b005
300 files changed
+18531 -2298

No files matched your search

+5 -1
View File
@@ -17,6 +17,7 @@
#include <boost/log/trivial.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/format.hpp>
#include <nlohmann/json.hpp>
@@ -238,7 +239,10 @@ void PrinterWebView::load_url(wxString& url, wxString apikey)
m_url_loaded = false;
m_handler = create_printer_webview_handler(*this);
if (this->IsShown()) {
// Orca: IsShownOnScreen(), not IsShown(): the idle prebuild builds this view inside the hidden
// Device tab, and a new panel counts as shown, so the page and its camera stream would start
// before the tab is opened. Show() loads the deferred page.
if (this->IsShownOnScreen()) {
//ORCA: m_url_deferred will be cleared on load success
//m_url_deferred.clear();
m_browser->LoadURL(url);