diff options
Diffstat (limited to 'src/gui/editors/notation/NotationCanvasView.cpp')
-rw-r--r-- | src/gui/editors/notation/NotationCanvasView.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/editors/notation/NotationCanvasView.cpp b/src/gui/editors/notation/NotationCanvasView.cpp index a80d04d..7e7f4c9 100644 --- a/src/gui/editors/notation/NotationCanvasView.cpp +++ b/src/gui/editors/notation/NotationCanvasView.cpp @@ -186,7 +186,7 @@ void NotationCanvasView::contentsMousePressEvent(TQMouseEvent *e) for (it = itemList.begin(); it != itemList.end(); ++it) { - if ((*it)->active()) { + if ((*it)->isActive()) { emit activeItemPressed(e, *it); return ; } @@ -284,7 +284,7 @@ NotationCanvasView::processActiveItems(TQMouseEvent* e, for (it = itemList.begin(); it != itemList.end(); ++it) { TQCanvasItem *item = *it; - if (item->active() && !pressedItem) { + if (item->isActive() && !pressedItem) { NOTATION_DEBUG << "mousepress : got active item\n"; pressedItem = item; } |