mirror of https://github.com/CGAL/cgal
Fix SelectAll()
This commit is contained in:
parent
d1104a4620
commit
b50bd6d90c
|
|
@ -1139,8 +1139,8 @@ QItemSelection Scene::createSelection(int i)
|
|||
|
||||
QItemSelection Scene::createSelectionAll()
|
||||
{
|
||||
return QItemSelection(index_map.keys(0).at(0),
|
||||
index_map.keys(m_entries.size() - 1).at(4));
|
||||
return QItemSelection(index(0, 0,index_map.key(0).parent()),
|
||||
index(m_entries.size()-1, 4, index_map.key(0).parent()));
|
||||
}
|
||||
|
||||
void Scene::itemChanged()
|
||||
|
|
|
|||
Loading…
Reference in New Issue