Fix for #6782 - Clicking On Another Modifier while Changing a Modifier Parameter crashes PrusaSlicer

This commit is contained in:
YuSanka 2021-08-09 13:34:00 +02:00
parent 1f131d130f
commit 4efce682e1

View file

@ -3918,6 +3918,10 @@ void Plater::priv::on_right_click(RBtnEvent& evt)
if (evt.data.second)
return;
// Each context menu respects to the selected item in ObjectList,
// so this selection should be updated before menu creation
wxGetApp().obj_list()->update_selections();
if (printer_technology == ptSLA)
menu = menus.sla_object_menu();
else {