Added lower marker note focus on quick double click for Qt TAS editor.

This commit is contained in:
mjbudd77 2021-12-27 23:23:33 -05:00
parent df7bedd349
commit fd1f33f27e
1 changed files with 5 additions and 0 deletions

View File

@ -5717,6 +5717,10 @@ void QPianoRoll::setupMarkerDrag(void)
{
startDraggingMarker( mouse_x, mouse_y, rowUnderMouseAtPress, columnUnderMouseAtPress);
}
else
{
tasWin->lowerMarkerNote->setFocus();
}
}
void QPianoRoll::startDraggingMarker(int mouseX, int mouseY, int rowIndex, int columnIndex)
@ -5900,6 +5904,7 @@ void QPianoRoll::finishDrag(void)
//SetFocus(selection.hwndSelectionMarkerEditField);
// select all text in case user wants to overwrite it
//SendMessage(selection.hwndSelectionMarkerEditField, EM_SETSEL, 0, -1);
tasWin->lowerMarkerNote->setFocus();
}
}
else if (markersManager->getMarkerAtFrame(rowUnderMouse))