##// END OF EJS Templates
Restored X axis hiding and graph close GUI interactions...
jeandet -
r1382:c306ac9a29de
parent child
Show More
@@ -962,8 +962,15 void VisualizationGraphWidget::mousePressEvent(QMouseEvent *event)
962 962 impl->startDrawingRect(event->pos());
963 963 break;
964 964 default:
965 setCursor(Qt::ClosedHandCursor);
966 impl->enterPlotDrag(event->pos());
965 if(auto item = impl->m_plot->itemAt(event->pos()))
966 {
967 emit impl->m_plot->itemClick(item,event);
968 }
969 else
970 {
971 setCursor(Qt::ClosedHandCursor);
972 impl->enterPlotDrag(event->pos());
973 }
967 974 }
968 975 }
969 976 //event->accept();
General Comments 0
You need to be logged in to leave comments. Login now