D16913: Add the possibility to give focus to the KPluginSelector search field

Thomas Surrel noreply at phabricator.kde.org
Mon Nov 19 10:05:00 GMT 2018


thsurrel added a comment.


  Simply calling setFocus() was not working (I used this in D16914 <https://phabricator.kde.org/D16914>). My understanding is that the widget containing this has to be completely built before trying to set the focus, adding the timer ensures that. Correct me if this is wrong.

REPOSITORY
  R295 KCMUtils

REVISION DETAIL
  https://phabricator.kde.org/D16913

To: thsurrel, #frameworks
Cc: ngraham, kde-frameworks-devel, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181119/04d72821/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list