diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 83b6e0465f..f1d1fef97f 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -3,7 +3,7 @@ name: Build all on: push: branches: - - main + - master paths: - 'deps/**' - 'src/**' diff --git a/src/slic3r/GUI/Project.cpp b/src/slic3r/GUI/Project.cpp index 04a7600b32..4b4a376042 100644 --- a/src/slic3r/GUI/Project.cpp +++ b/src/slic3r/GUI/Project.cpp @@ -389,6 +389,12 @@ void ProjectPanel::OnScriptMessage(wxWebViewEvent& evt) wxGetApp().CallAfter([this, strJS] { RunScript(strJS.ToStdString()); }); + } else { + // m_last_payload was cleared (e.g. after a save) and the background + // reload may not have finished yet — or its dispatch was dropped during + // webview navigation. Trigger a fresh reload so the new page receives + // up-to-date model data once the reload completes. + update_model_data(); } } else if (strCmd == "request_confirm_save_project") {