mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
NEW:Enhanced disk name function
Right click to modify the disk name, which is also displayed in the left UI bar # Conflicts: # src/slic3r/GUI/GUI_Factories.cpp # src/slic3r/GUI/GUI_Factories.hpp Change-Id: Ib688bef58d75fba1e5df4f201bfdcef7a3872308 (cherry picked from commit 019681ce69e115e8e4602a93dcb3dc61f20ecba5)
This commit is contained in:
parent
edba4d18a6
commit
fdd7d11b14
10 changed files with 112 additions and 13 deletions
|
@ -1556,6 +1556,12 @@ void PartPlate::set_plate_name(const std::string &name)
|
|||
// compare if name equal to m_name, case sensitive
|
||||
if (boost::equals(m_name, name)) return;
|
||||
|
||||
if (m_plater) {
|
||||
ObjectList *obj_list = wxGetApp().obj_list();
|
||||
if (obj_list) {
|
||||
obj_list->GetModel()->SetCurSelectedPlateFullNmae(m_plate_index, name);
|
||||
}
|
||||
}
|
||||
m_name = name;
|
||||
m_name_change = true;
|
||||
if (m_print != nullptr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue