<table><tr><td style="">elvisangelaccio created this revision.<br />Restricted Application added subscribers: Ark, kde-utils-devel.<br />Restricted Application added a project: Ark.
</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/D5869" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>After commit <a href="https://phabricator.kde.org/R36:7781d6ef794a8da9afe1c837c3a7826103568add" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;" rel="noreferrer">7781d6ef79</a>, the model of the archive view changed to the<br />
filter model. So we were asking <tt style="background: #ebebeb; font-size: 13px;">m_model</tt> to get an index from<br />
<tt style="background: #ebebeb; font-size: 13px;">currentIndex</tt>, which instead belongs to <tt style="background: #ebebeb; font-size: 13px;">m_filterModel</tt>.</p>

<p>Since the model usage here is pointless (current index = child of the<br />
parent of the current index... why?), just remove the code.</p>

<p>BUG: 379802<br />
FIXED-IN: 17.04.2</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Renaming top-level entries doesn't crash anymore. Renaming child entries still works.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R36 Ark</div></div></div><br /><div><strong>BRANCH</strong><div><div>bug/379802 (branched from Applications/17.04)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5869" rel="noreferrer">https://phabricator.kde.org/D5869</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>part/part.cpp</div></div></div><br /><div><strong>To: </strong>elvisangelaccio, rthomsen<br /><strong>Cc: </strong>kde-utils-devel, Ark, tctara<br /></div>