diff options
Diffstat (limited to 'src/gui/editors/matrix/MatrixSelector.cpp')
-rw-r--r-- | src/gui/editors/matrix/MatrixSelector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/editors/matrix/MatrixSelector.cpp b/src/gui/editors/matrix/MatrixSelector.cpp index 8d0f586..50a1692 100644 --- a/src/gui/editors/matrix/MatrixSelector.cpp +++ b/src/gui/editors/matrix/MatrixSelector.cpp @@ -520,7 +520,7 @@ void MatrixSelector::setViewCurrentSelection() EventSelection* MatrixSelector::getSelection() { - if (!m_selectionRect->visible()) return 0; + if (!m_selectionRect->isVisible()) return 0; Segment& originalSegment = m_currentStaff->getSegment(); EventSelection* selection = new EventSelection(originalSegment); @@ -571,7 +571,7 @@ void MatrixSelector::setContextHelpFor(TQPoint p, bool ctrlPressed) TQCanvasItem *item = *it; QCanvasMatrixRectangle *mRect = 0; - if (item->active()) { + if (item->isActive()) { break; } |