daandemeyer created this revision. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. daandemeyer requested review of this revision.
REVISION SUMMARY Currently, when right-clicking a file in KDirOperator, the "Create New" menu is available and can be used. However, when creating any new directory or file, the operation fails since we're trying to create a directory or file under a file. This patch modifies KDirOperator to only enable the "Create New" menu when the selected item is a directory. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D23333 AFFECTED FILES src/filewidgets/kdiroperator.cpp To: daandemeyer Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
