Commit bac2ae0c authored by Safa AlFulaij's avatar Safa AlFulaij
Browse files

[Klipper] Force plain text on the edit dialog

Reviewers: #plasma, mlaurent, broulik

Reviewed By: #plasma, broulik

Subscribers: mlaurent, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D10111
parent a2873fef
......@@ -868,8 +868,9 @@ void Klipper::editData(const QSharedPointer< const HistoryItem > &item)
);
KTextEdit *edit = new KTextEdit( dlg );
edit->setAcceptRichText(false);
if (item) {
edit->setText( item->text() );
edit->setPlainText( item->text() );
}
edit->setFocus();
edit->setMinimumSize( 300, 40 );
......
Supports Markdown
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