D21907: Show feedback inline when creating new files or folders

Méven Car noreply at phabricator.kde.org
Wed Jun 19 17:42:20 BST 2019


meven added inline comments.

INLINE COMMENTS

> knewfilemenu.cpp:1047
> +    if (text.length() == 0) {
> +        m_messageWidget->setText(i18n("Name cannot be blank."));
> +        m_messageWidget->setMessageType(KMessageWidget::Error);

I would rather disable the ok button, as long as the user has not entered text, rather than using an error.

REPOSITORY
  R241 KIO

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

To: ngraham, #vdg, #frameworks, shubham
Cc: meven, kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190619/2add193c/attachment.html>


More information about the Kde-frameworks-devel mailing list