mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user