FIX: the flow rate ratio crashes after load model
for third party printer Jira: 5244 Change-Id: Idd829c9d99eeba9d180653ac8de4e51b9a0d6370
This commit is contained in:
parent
8b6d9175cf
commit
af69cf1264
|
@ -8818,7 +8818,8 @@ void Plater::calib_flowrate(int pass)
|
||||||
{
|
{
|
||||||
if (pass != 1 && pass != 2) return;
|
if (pass != 1 && pass != 2) return;
|
||||||
const auto calib_name = wxString::Format(L"Flowrate Test - Pass%d", pass);
|
const auto calib_name = wxString::Format(L"Flowrate Test - Pass%d", pass);
|
||||||
new_project(false, false, calib_name);
|
if (new_project(false, false, calib_name) == wxID_CANCEL)
|
||||||
|
return;
|
||||||
|
|
||||||
wxGetApp().mainframe->select_tab(size_t(MainFrame::tp3DEditor));
|
wxGetApp().mainframe->select_tab(size_t(MainFrame::tp3DEditor));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue