From a5fd629bcc31b6a137c551f7c788aa3f0c675967 Mon Sep 17 00:00:00 2001 From: Ian Chua Date: Tue, 19 May 2026 14:22:38 +0800 Subject: [PATCH] spelling fix --- src/slic3r/GUI/GUI_App.cpp | 12 ++++++------ src/slic3r/GUI/GUI_App.hpp | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index 0e67610093..ca7fe434b3 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -4835,12 +4835,12 @@ void GUI_App::on_http_error(wxCommandEvent &evt) BOOST_LOG_TRIVIAL(warning) << "logout: http error 401."; this->request_user_logout(provider); - if (!m_show_http_errpr_msgdlg) { + if (!m_show_http_error_msgdlg) { MessageDialog msg_dlg(nullptr, _L("Login information expired. Please login again."), "", wxAPPLY | wxOK); - m_show_http_errpr_msgdlg = true; + m_show_http_error_msgdlg = true; auto modal_result = msg_dlg.ShowModal(); if (modal_result == wxOK || modal_result == wxCLOSE) { - m_show_http_errpr_msgdlg = false; + m_show_http_error_msgdlg = false; return; } } @@ -4851,9 +4851,9 @@ void GUI_App::on_http_error(wxCommandEvent &evt) // Show general error notification for Orca Cloud API failures (not Bambu) if (provider == ORCA_CLOUD_PROVIDER && status >= 400 && code != HttpErrorVersionLimited) { - if (m_show_http_errpr_msgdlg) + if (m_show_http_error_msgdlg) return; - m_show_http_errpr_msgdlg = true; + m_show_http_error_msgdlg = true; wxString msg; if (!error.empty()) { @@ -4862,7 +4862,7 @@ void GUI_App::on_http_error(wxCommandEvent &evt) msg = wxString::Format(_L("API error (HTTP %u)"), status); } wxMessageBox(msg, _L("Orca Cloud API Error"), wxOK | wxICON_ERROR, wxGetApp().mainframe); - m_show_http_errpr_msgdlg = false; + m_show_http_error_msgdlg = false; } } diff --git a/src/slic3r/GUI/GUI_App.hpp b/src/slic3r/GUI/GUI_App.hpp index fac853e65c..3212c719f5 100644 --- a/src/slic3r/GUI/GUI_App.hpp +++ b/src/slic3r/GUI/GUI_App.hpp @@ -324,7 +324,7 @@ private: bool m_is_dark_mode{ false }; bool m_adding_script_handler { false }; bool m_side_popup_status{false}; - bool m_show_http_errpr_msgdlg{false}; + bool m_show_http_error_msgdlg{false}; bool m_show_error_msgdlg{false}; wxString m_info_dialog_content; HttpServer m_http_server;