Disable Find/Replace in the "rename inline" line edit

These actions do not work correctly because renaming is considered
finished as soon as the line edit loses focus, which happens when the
"Replace" dialog pops up.

BUG: 317772
FIXED-IN: 4.10.3
This commit is contained in:
Frank Reininghaus 2013-04-23 19:31:08 +02:00
parent 8a40b0ee4a
commit 8f4d13dab8

View file

@ -32,6 +32,7 @@ KItemListRoleEditor::KItemListRoleEditor(QWidget *parent) :
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff); setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setAcceptRichText(false); setAcceptRichText(false);
enableFindReplace(false);
document()->setDocumentMargin(0); document()->setDocumentMargin(0);
if (parent) { if (parent) {