mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
FIX: wxWidgets asserts
Change-Id: I583edbde501c2bfe8adfa8fdb525479a379a4cb8
This commit is contained in:
parent
a7bd14003b
commit
66c89c62e2
17 changed files with 46 additions and 39 deletions
|
@ -1392,8 +1392,8 @@ void MenuFactory::append_menu_item_locked(wxMenu* menu)
|
|||
m_parent->Bind(wxEVT_UPDATE_UI, [](wxUpdateUIEvent& evt) {
|
||||
PartPlate* plate = plater()->get_partplate_list().get_selected_plate();
|
||||
assert(plate);
|
||||
bool check = plate->is_locked();
|
||||
evt.Check(check);
|
||||
//bool check = plate->is_locked();
|
||||
//evt.Check(check);
|
||||
plater()->set_current_canvas_as_dirty();
|
||||
}, item->GetId());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue