mirror of https://github.com/CGAL/cgal
Removes the Hover events in edition mode.
This commit is contained in:
parent
67e6ac76f6
commit
e937c803a0
|
|
@ -318,7 +318,8 @@ protected:
|
|||
is_ready_to_paint_select = true;
|
||||
QMouseEvent* mouse_event = static_cast<QMouseEvent*>(event);
|
||||
paint_pos = mouse_event->pos();
|
||||
QTimer::singleShot(0,this,SLOT(paint_selection()));
|
||||
if(!is_edit_mode || event->type() == QEvent::MouseButtonPress)
|
||||
QTimer::singleShot(0,this,SLOT(paint_selection()));
|
||||
}
|
||||
//if in edit_mode and the mouse is moving without left button pressed :
|
||||
// highlight the primitive under cursor
|
||||
|
|
|
|||
Loading…
Reference in New Issue