<table><tr><td style="">dfaure added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D14610">View Revision</a></tr></table><br /><div><div><p><tt style="background: #ebebeb; font-size: 13px;">KFilePropsPlugin::setFileNameReadOnly</tt> checks for m_bFromTemplate for the case where the properties dialog is used by the "Create New / ..." context menu action.<br />
In that case, the source file (the template from /usr) isn't movable, but we still want to let the user type a filename -- for the copied file.</p>

<p>Doing this inside that method won't work anymore, we need to incorporate it into the new if() for using the label. For instance like this:</p>

<p><tt style="background: #ebebeb; font-size: 13px;">if (d->bMultiple || isTrash || hasRoot || (!m_bFromTemplate && !itemList.supportsMoving()))</tt></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14610">https://phabricator.kde.org/D14610</a></div></div><br /><div><strong>To: </strong>shubham, rkflx, dfaure, ngraham<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>