Handle non-Latin characters when pasting plain text

This commit is contained in:
G.K.MacGregor
2021-05-23 14:03:28 +01:00
parent a66474b7cf
commit 2c04c898ab
3 changed files with 23 additions and 6 deletions

View File

@@ -443,7 +443,7 @@ void TeletextWidget::copy()
void TeletextWidget::paste()
{
m_teletextDocument->undoStack()->push(new PasteCommand(m_teletextDocument));
m_teletextDocument->undoStack()->push(new PasteCommand(m_teletextDocument, m_pageRender.level1CharSet(m_teletextDocument->cursorRow(), m_teletextDocument->cursorColumn())));
}
QPair<int, int> TeletextWidget::mouseToRowAndColumn(const QPoint &mousePosition)