mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-15 00:45:57 +08:00
Follow-up 172b97cc2a
- Show context menu only on right mouse click
This commit is contained in:
parent
21c8f373ff
commit
1b7975639e
@ -916,7 +916,7 @@ void ObjectList::list_manipulation(const wxPoint& mouse_pos, bool evt_context_me
|
|||||||
if (is_windows10() && m_objects_model->HasWarningIcon(item) &&
|
if (is_windows10() && m_objects_model->HasWarningIcon(item) &&
|
||||||
mouse_pos.x > 2 * wxGetApp().em_unit() && mouse_pos.x < 4 * wxGetApp().em_unit())
|
mouse_pos.x > 2 * wxGetApp().em_unit() && mouse_pos.x < 4 * wxGetApp().em_unit())
|
||||||
fix_through_netfabb();
|
fix_through_netfabb();
|
||||||
else
|
else if (evt_context_menu)
|
||||||
show_context_menu(evt_context_menu); // show context menu for "Name" column too
|
show_context_menu(evt_context_menu); // show context menu for "Name" column too
|
||||||
}
|
}
|
||||||
// workaround for extruder editing under OSX
|
// workaround for extruder editing under OSX
|
||||||
|
Loading…
x
Reference in New Issue
Block a user