Commit e298890a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix Bug 443108 - Ability to copy tables with original formatting

BUG: 443108
FIXED-IN: 5.18.2
parent d4cbbfb0
Pipeline #86460 skipped
......@@ -2626,11 +2626,7 @@ void ViewerPrivate::slotCopyImageLocation()
void ViewerPrivate::slotCopySelectedText()
{
#ifndef QT_NO_CLIPBOARD
QString selection = mViewer->selectedText();
selection.replace(QChar::Nbsp, QLatin1Char(' '));
QApplication::clipboard()->setText(selection);
#endif
mViewer->triggerPageAction(QWebEnginePage::Copy);
}
void ViewerPrivate::viewerSelectionChanged()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment