From c41c1f16993324ed0abee25157e62ff2531ff98e Mon Sep 17 00:00:00 2001 From: David Kocik Date: Mon, 10 Jan 2022 11:40:43 +0100 Subject: [PATCH] debug print after pressing send gcode button on plater added debug print of Length of selected string --- src/slic3r/GUI/PrintHostDialogs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/PrintHostDialogs.cpp b/src/slic3r/GUI/PrintHostDialogs.cpp index 6f4a060701..274c762133 100644 --- a/src/slic3r/GUI/PrintHostDialogs.cpp +++ b/src/slic3r/GUI/PrintHostDialogs.cpp @@ -160,8 +160,9 @@ PrintHostSendDialog::PrintHostSendDialog(const fs::path &path, PrintHostPostUplo // this time on Mac. CallAfter([=]() { BOOST_LOG_TRIVIAL(error) << "PrintHostSendDialog wxEVT_SHOW 0 " << recent_path_len << " " << recent_path_len << " " << stem_len; + BOOST_LOG_TRIVIAL(error) << "PrintHostSendDialog wxEVT_SHOW 1 " << txt_filename->GetValue().Length() << " " << txt_filename->GetValue().size(); txt_filename->SetSelection(recent_path_len, recent_path_len + stem_len); - BOOST_LOG_TRIVIAL(error) << "PrintHostSendDialog wxEVT_SHOW 1"; + BOOST_LOG_TRIVIAL(error) << "PrintHostSendDialog wxEVT_SHOW 2"; }); }); }