]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Disable Find/Replace in the "rename inline" line edit
authorFrank Reininghaus <frank78ac@googlemail.com>
Tue, 23 Apr 2013 17:31:08 +0000 (19:31 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Tue, 23 Apr 2013 17:31:08 +0000 (19:31 +0200)
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

src/kitemviews/private/kitemlistroleeditor.cpp

index 4f40060109807cfe8b832fc230ff8b4d1ce799c0..9f3b53c050026b63ddc650bd67be353cd034089f 100644 (file)
@@ -32,6 +32,7 @@ KItemListRoleEditor::KItemListRoleEditor(QWidget *parent) :
     setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
     setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
     setAcceptRichText(false);
+    enableFindReplace(false);
     document()->setDocumentMargin(0);
 
     if (parent) {