| 88 | } |
| 89 | |
| 90 | void NoteView::noteTextColorChanged(const QColor& color) { |
| 91 | CONDITIONAL_LOCK_RETURN; |
| 92 | m_textEdit->selectAll(); |
| 93 | m_textEdit->setTextColor(color); |
| 94 | auto cursor = m_textEdit->textCursor(); |
| 95 | cursor.clearSelection(); |
| 96 | m_textEdit->setTextCursor(cursor); |
| 97 | } |
nothing calls this directly
no test coverage detected