ENH:Modify the sending decision logic for FTP/TCP/TUTK

jira:[STUDIO-12330]

Change-Id: Iba7360dc9dbcce86985db64c16becf24f7a4c6db
This commit is contained in:
milk 2025-05-21 16:58:25 +08:00 committed by lane.wei
parent c0ac52cb58
commit 0a0e76ec95

View File

@ -896,7 +896,8 @@ void SendToPrinterDialog::on_ok(wxCommandEvent &event)
file_name = default_output_file_path.filename().string();
}*/
if ( ( (!obj_->is_lan_mode_printer() && obj_->is_support_brtc) || m_tcp_try_connect) && (!m_ftp_try_connect) ) {
if (obj_->is_support_brtc && (m_tcp_try_connect || m_tutk_try_connect))
{
update_print_status_msg(wxEmptyString, false, false);
if (m_file_sys) {
PrintPrepareData print_data;