Skip to content
Snippets Groups Projects
Commit ee9f5f7b authored by Benjamin Arnaud's avatar Benjamin Arnaud Committed by Jean-Baptiste Kempf
Browse files

qt/ListMenuHelper: Fix the 'onRowsRemoved' event

parent 9d90e8e9
No related branches found
No related tags found
1 merge request!2424qt/custom_menus: Fix the 'onRowsRemoved(s)' events
Pipeline #255891 passed with stage
in 16 minutes and 44 seconds
......@@ -377,7 +377,7 @@ void ListMenuHelper::onRowsRemoved(const QModelIndex &, int first, int last)
QList<QAction *>::iterator begin = m_actions.begin();
m_actions.erase(begin + first, begin + last);
m_actions.erase(begin + first, begin + last + 1);
emit countChanged(m_actions.count());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment