ENH: support command error dialog; support clean print error; support stop ams drying

JIRA: [STUDIO-12441] [STUDIO-13123] [STUDIO-12372]
Change-Id: I87170f1f51c1e24f6eee61deb07d06ff6b53a884
(cherry picked from commit 1ec5382f14ebf06d8f3ed128e377243665434ca6)
This commit is contained in:
xin.zhang
2025-07-03 15:20:57 +08:00
committed by Noisyfox
parent 0721078177
commit a5c6450cc5
12 changed files with 603 additions and 5 deletions

View File

@@ -507,7 +507,7 @@ std::string MonitorPanel::get_string_from_tab(PrinterTab tab)
return "";
}
void MonitorPanel::jump_to_HMS(wxCommandEvent& e)
void MonitorPanel::jump_to_HMS()
{
if (!this->IsShown())
return;
@@ -516,6 +516,18 @@ void MonitorPanel::jump_to_HMS(wxCommandEvent& e)
m_tabpanel->SetSelection(PT_HMS);
}
void MonitorPanel::jump_to_LiveView()
{
if (!this->IsShown()) { return; }
auto page = m_tabpanel->GetCurrentPage();
if (page && page != m_hms_panel)
{
m_tabpanel->SetSelection(PT_STATUS);
}
m_status_info_panel->get_media_play_ctrl()->jump_to_play();
}
} // GUI
} // Slic3r