debug print after pressing send gcode button on plater

added debug print of Length of selected string
This commit is contained in:
David Kocik 2022-01-10 11:40:43 +01:00
parent e0516a9872
commit c41c1f1699

View File

@ -160,8 +160,9 @@ PrintHostSendDialog::PrintHostSendDialog(const fs::path &path, PrintHostPostUplo
// this time on Mac. // this time on Mac.
CallAfter([=]() { CallAfter([=]() {
BOOST_LOG_TRIVIAL(error) << "PrintHostSendDialog wxEVT_SHOW 0 " << recent_path_len << " " << recent_path_len << " " << stem_len; 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); 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";
}); });
}); });
} }