FIX:[STUDIO-4108] rename when load STL/STEP

JIRA: STUDIO-4108
github: #2325

Change-Id: Ibec16c822c0e8aeb1c064633225c7f500eb6990d
This commit is contained in:
Kunlong Ma 2023-08-30 09:50:59 +08:00 committed by Lane.Wei
parent 0e8b85842a
commit debbed13d6
2 changed files with 11 additions and 3 deletions

View file

@ -637,7 +637,7 @@ DPIFrame(NULL, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, BORDERLESS_FRAME_
if (evt.CmdDown() && evt.GetKeyCode() == 'I') {
if (!can_add_models()) return;
if (m_plater) { m_plater->add_model(); }
if (m_plater) { m_plater->add_file(); }
return;
}
evt.Skip();