<table><tr><td style="">giacomob created this revision.<br />Herald added a subscriber: falkon.<br />Herald added a project: Falkon.<br />giacomob requested review of this revision.
</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/D14930">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Currently in the bookmarks manager the user can create new items via the contextual menu, so a position is implicitly chosen, but the new items are always inserted at the first position in the list.</p>

<p>This change aims to add new items just before the current (selected) one. If the selected item is a folder the behavior is unchanged (the new item will be inserted at the first position in that folder).</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Select a separator/url item</li>
<li class="remarkup-list-item">Add a new item (separator/url/folder)</li>
<li class="remarkup-list-item">The new item is inserted just before the previously selected one</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R875 Falkon</div></div></div><br /><div><strong>BRANCH</strong><div><div>feature/bookmarks (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14930">https://phabricator.kde.org/D14930</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/lib/bookmarks/bookmarksmanager.cpp</div></div></div><br /><div><strong>To: </strong>giacomob<br /><strong>Cc: </strong>falkon, herrold, anmolgautam, SGOrava, iodelay, spoorun, ptabis, navarromorales, cochise, clivej, ach<br /></div>