mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: move network hold to MainFrame
jira: [STUDIO-10994] Change-Id: I2c30ba3b0f17d52079332634a9a2dd138859e083 (cherry picked from commit 506e82cb02a79d97a30effde53fe85c7d278858c)
This commit is contained in:
@@ -1101,7 +1101,6 @@ void SendToPrinterDialog::update_printer_combobox(wxCommandEvent &event)
|
||||
|
||||
void SendToPrinterDialog::on_timer(wxTimerEvent &event)
|
||||
{
|
||||
wxGetApp().reset_to_active();
|
||||
update_show_status();
|
||||
}
|
||||
|
||||
@@ -1172,7 +1171,6 @@ void SendToPrinterDialog::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;
|
||||
@@ -1668,7 +1666,6 @@ bool SendToPrinterDialog::Show(bool show)
|
||||
if (show) {
|
||||
m_ability_list.clear();
|
||||
//update_storage_list(std::vector<std::string>());
|
||||
wxGetApp().reset_to_active();
|
||||
set_default();
|
||||
update_user_machine_list();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user