(#612) Improved user interaction for adding/deleting curves

When time hist plot is visible,
CTRL + mouse click on a cell adds curve to plot
Mouse click outside clears curve plot
This commit is contained in:
Magne Sjaastad
2015-11-05 12:32:29 +01:00
parent ff6e2755aa
commit e3d76be0aa
3 changed files with 52 additions and 39 deletions

View File

@@ -225,7 +225,7 @@ void RiuViewer::mouseReleaseEvent(QMouseEvent* event)
if (event->button() == Qt::LeftButton)
{
m_viewerCommands->handlePickAction(event->x(), event->y());
m_viewerCommands->handlePickAction(event->x(), event->y(), event->modifiers());
return;
}
else if (event->button() == Qt::RightButton)