Your idea is fine but which connect to cursorPositionChanged then? I mean - how should a user change the cursor at all then?
Your idea is fine but which connect to cursorPositionChanged then? I mean - how should a user change the cursor at all then?
The user moves the cursor by clicking. In any case, I fixed the issue by changing handleSelect to this:
Qt Code:
void MainWindow::handleSelect(){ if (ListWindow->textCursor().atBlockEnd() == false){ } }To copy to clipboard, switch view to plain text mode
Works fine for test cases, should be fine moving forward. Thanks for the help.
Bookmarks