[Differential] [Changed Subscribers] D4287: File templates assistant: focus first edit field on switch to new page

Gleb Popov noreply at phabricator.kde.org
Thu Jan 26 08:14:20 UTC 2017


arrowdodger added inline comments.

INLINE COMMENTS

> templateclassassistant.cpp:519
>          d->outputPageWidget->loadFileTemplate(d->fileTemplate, d->baseUrl, d->renderer);
> +        d->outputPageWidget->setFocusToFirstEditWidget();
>      }

Can't we just do `currentPage()->setFocusToFirstEditWidget()` after all those `if`s?

REPOSITORY
  R33 KDevPlatform

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

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: kossebau, #kdevelop
Cc: arrowdodger, kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170126/aba55ce9/attachment.html>


More information about the KDevelop-devel mailing list