Skip to content
Snippets Groups Projects
Commit c2084122 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

disable double-click pop-up menu in selection mode

parent 6984a4ff
No related branches found
No related tags found
No related merge requests found
...@@ -342,7 +342,8 @@ int openglWindow::handle(int event) ...@@ -342,7 +342,8 @@ int openglWindow::handle(int event)
return Fl_Gl_Window::handle(event); return Fl_Gl_Window::handle(event);
case FL_PUSH: case FL_PUSH:
if(Fl::event_clicks() == 1){ // double-click if(Fl::event_clicks() == 1 && !selectionMode){
// double-click and not in selection mode
status_options_cb(0, (void*)"quick_access"); status_options_cb(0, (void*)"quick_access");
Fl::event_clicks(-1); Fl::event_clicks(-1);
return 1; return 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment