Skip to content
Snippets Groups Projects
Commit d7bb8b66 authored by Edric Milaret's avatar Edric Milaret Committed by Alexandre Lision
Browse files

recentmodel: don't select item on insert

There is no reason to select a node when inserting it
We already do the select on other places

Change-Id: I02ab16bee3a58562e56a435a07bd6a433dacf367
parent bc950541
No related branches found
No related tags found
No related merge requests found
...@@ -661,7 +661,6 @@ void RecentModelPrivate::insertNode(RecentViewNode* n, time_t t, bool isNew) ...@@ -661,7 +661,6 @@ void RecentModelPrivate::insertNode(RecentViewNode* n, time_t t, bool isNew)
q_ptr->endMoveRows(); q_ptr->endMoveRows();
else else
q_ptr->endInsertRows(); q_ptr->endInsertRows();
q_ptr->selectionModel()->select(q_ptr->index(n->m_Index, 0), QItemSelectionModel::ClearAndSelect);
#if 0 #if 0
//Uncomment if there is issues //Uncomment if there is issues
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment