Mercurial > hg > svgui
diff layer/NoteLayer.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/NoteLayer.cpp Mon Jun 11 12:14:52 2007 +0000 +++ b/layer/NoteLayer.cpp Wed Jun 13 09:19:33 2007 +0000 @@ -788,13 +788,13 @@ m_editing = false; } -void +bool NoteLayer::editOpen(View *v, QMouseEvent *e) { - if (!m_model) return; + if (!m_model) return false; NoteModel::PointList points = getLocalPoints(v, e->x()); - if (points.empty()) return; + if (points.empty()) return false; NoteModel::Point note = *points.begin(); @@ -827,6 +827,7 @@ } delete dialog; + return true; } void