fix object selection crashes

This commit is contained in:
T1ti
2023-01-09 21:45:53 +01:00
parent 9840bd696b
commit c5a373f28c

View File

@@ -5095,6 +5095,9 @@ void MapView::wheelEvent (QWheelEvent* event)
void MapView::mouseReleaseEvent (QMouseEvent* event)
{
makeCurrent();
OpenGL::context::scoped_setter const _(::gl, context());
switch (event->button())
{
case Qt::LeftButton: