mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-23 12:55:37 -07:00
FIX: move network hold to MainFrame
jira: [STUDIO-10994] Change-Id: I2c30ba3b0f17d52079332634a9a2dd138859e083 (cherry picked from commit 506e82cb02a79d97a30effde53fe85c7d278858c)
This commit is contained in:
parent
c0c7d90845
commit
68741d019c
9 changed files with 93 additions and 64 deletions
|
|
@ -3036,7 +3036,6 @@ void SelectMachineDialog::update_printer_combobox(wxCommandEvent &event)
|
|||
|
||||
void SelectMachineDialog::on_timer(wxTimerEvent &event)
|
||||
{
|
||||
wxGetApp().reset_to_active();
|
||||
update_show_status();
|
||||
|
||||
///show auto refill
|
||||
|
|
@ -3292,7 +3291,7 @@ void SelectMachineDialog::update_show_status()
|
|||
return;
|
||||
}
|
||||
if (!dev) return;
|
||||
dev->check_pushing();
|
||||
|
||||
PartPlate* plate = m_plater->get_partplate_list().get_curr_plate();
|
||||
|
||||
// blank plate has no valid gcode file
|
||||
|
|
@ -3319,7 +3318,6 @@ void SelectMachineDialog::update_show_status()
|
|||
/* check cloud machine connections */
|
||||
if (!obj_->is_lan_mode_printer()) {
|
||||
if (!agent->is_server_connected()) {
|
||||
agent->refresh_connection();
|
||||
show_status(PrintDialogStatus::PrintStatusConnectingServer);
|
||||
reset_timeout();
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue