ENH: update slice status after insert all custom gcode

Jira: STUDIO-4155

Change-Id: Ia088a471477895c92eaeac6f26052e7ec0f060a9
This commit is contained in:
liz.li authored and Lane.Wei committed 2023-09-22 16:21:26 +08:00
1 parent 1fe94590bd
commit d3166fda13
3 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -1557,7 +1557,7 @@ wxBoxSizer* MainFrame::create_side_tools()
m_slice_btn->Bind(wxEVT_BUTTON, [this](wxCommandEvent& event)
{
//this->m_plater->select_view_3D("Preview");
m_plater->update();
m_plater->update(false, true);
if (m_slice_select == eSliceAll)
wxPostEvent(m_plater, SimpleEvent(EVT_GLTOOLBAR_SLICE_ALL));
else