diff --git a/src/slic3r/GUI/MainFrame.cpp b/src/slic3r/GUI/MainFrame.cpp index 6b0dd1ad5..c1aadb370 100644 --- a/src/slic3r/GUI/MainFrame.cpp +++ b/src/slic3r/GUI/MainFrame.cpp @@ -549,8 +549,10 @@ void MainFrame::init_tabpanel() wxWindow* panel = m_tabpanel->GetCurrentPage(); if (panel != nullptr) { Tab* tab = dynamic_cast(panel); - if (tab != nullptr && !tab->validate_custom_gcodes()) - evt.Veto(); + if (tab != nullptr) + tab->validate_custom_gcodes(); +// if (tab != nullptr && !tab->validate_custom_gcodes()) +// evt.Veto(); } }); #endif // ENABLE_VALIDATE_CUSTOM_GCODE