Mercurial > hg > svgui
diff layer/TimeInstantLayer.cpp @ 255:e175ade2d6b0
* double-click in navigate mode relocates the centre frame (closing #1734854)
author | Chris Cannam |
---|---|
date | Wed, 13 Jun 2007 09:19:33 +0000 |
parents | 28c8e8e3c537 |
children | cd2492c5fe45 |
line wrap: on
line diff
--- a/layer/TimeInstantLayer.cpp Mon Jun 11 12:14:52 2007 +0000 +++ b/layer/TimeInstantLayer.cpp Wed Jun 13 09:19:33 2007 +0000 @@ -591,13 +591,13 @@ m_editing = false; } -void +bool TimeInstantLayer::editOpen(View *v, QMouseEvent *e) { - if (!m_model) return; + if (!m_model) return false; SparseOneDimensionalModel::PointList points = getLocalPoints(v, e->x()); - if (points.empty()) return; + if (points.empty()) return false; SparseOneDimensionalModel::Point point = *points.begin(); @@ -623,6 +623,7 @@ } delete dialog; + return true; } void