D12545: Set focus on the filename line edit when a file is selected
Nathaniel Graham
noreply at phabricator.kde.org
Thu Apr 26 19:05:44 UTC 2018
ngraham requested changes to this revision.
ngraham added a comment.
This revision now requires changes to proceed.
This is clearly what the code was //trying// to do, based on inline comments: https://cgit.kde.org/kio.git/tree/src/filewidgets/kfilewidget.cpp#n1176
However, are we sure this is the right fix? This will have the effect of adding the select-text-when-clicked behavior the Open dialogs too, which does not seem to have been intended and which I don't think is helpful. Perhaps we should change the `locationEdit->setFocus();` to `locationEdit->lineEdit()->setFocus();` on line 1179 instead.
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D12545
To: anemeth, #frameworks, #vdg, ngraham
Cc: ngraham, #frameworks, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180426/bd113cea/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list