From 9013254def129933ca85c7ecea75bacc2bdd1d26 Mon Sep 17 00:00:00 2001 From: "haolin.tian" Date: Mon, 13 Oct 2025 21:01:01 +0800 Subject: [PATCH] FIX: Prevent refresh during connection jira: none Change-Id: I84fda87d4b62d6cf2b22614336336aae5229feca (cherry picked from commit 920bb3da0160c63cee66958a7b59d3ae5314ca88) --- src/slic3r/GUI/SendToPrinter.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/slic3r/GUI/SendToPrinter.cpp b/src/slic3r/GUI/SendToPrinter.cpp index df80ec86a1..4a43ce0501 100644 --- a/src/slic3r/GUI/SendToPrinter.cpp +++ b/src/slic3r/GUI/SendToPrinter.cpp @@ -1374,8 +1374,10 @@ void SendToPrinterDialog::Enable_Refresh_Button(bool en) void SendToPrinterDialog::show_status(PrintDialogStatus status, std::vector params) { - if (m_print_status != status) - BOOST_LOG_TRIVIAL(info) << "select_machine_dialog: show_status = " << status; + if (m_print_status != status) + BOOST_LOG_TRIVIAL(info) << "select_machine_dialog: show_status = " << status; + else + return; m_print_status = status; // m_comboBox_printer @@ -1395,7 +1397,7 @@ void SendToPrinterDialog::show_status(PrintDialogStatus status, std::vector