mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-06 05:57:57 +08:00
FIX:keep all three import methods consistent
Change-Id: I82fe0b8ec2df2092b35119c021d6dff2575720ae
This commit is contained in:
parent
71acbec38d
commit
3e21f0cc91
@ -1977,7 +1977,7 @@ void MainFrame::init_menubar_as_editor()
|
||||
#ifndef __APPLE__
|
||||
append_menu_item(import_menu, wxID_ANY, _L("Import 3MF/STL/STEP/OBJ/AMF") + dots + "\tCtrl+I", _L("Load a model"),
|
||||
[this](wxCommandEvent&) { if (m_plater) {
|
||||
m_plater->add_model();
|
||||
m_plater->add_file();
|
||||
} }, "menu_import", nullptr,
|
||||
[this](){return can_add_models(); }, this);
|
||||
#else
|
||||
|
@ -5614,9 +5614,9 @@ void Plater::priv::on_process_completed(SlicingProcessCompletedEvent &evt)
|
||||
void Plater::priv::on_action_add(SimpleEvent&)
|
||||
{
|
||||
if (q != nullptr) {
|
||||
q->add_model();
|
||||
//q->add_model();
|
||||
//BBS open file in toolbar add
|
||||
//q->add_file();
|
||||
q->add_file();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user