D11334: Disable Create New menu and button when Trash dir is active

Elvis Angelaccio noreply at phabricator.kde.org
Wed Mar 14 23:11:22 GMT 2018


elvisangelaccio requested changes to this revision.
elvisangelaccio added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> dolphinmainwindow.cpp:1369
>  {
> +    m_newFileMenu->menu()->setEnabled(m_activeViewContainer->url().scheme() != QLatin1String("trash"));
>      const KFileItemList list = m_activeViewContainer->view()->selectedItems();

This should be handled by KIO (knewfilemenu.cpp)

REPOSITORY
  R318 Dolphin

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

To: rominf, #dolphin, elvisangelaccio
Cc: elvisangelaccio, ngraham, #dolphin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180314/aa7ef08e/attachment.htm>


More information about the kfm-devel mailing list