summaryrefslogtreecommitdiff
path: root/browserGrid.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'browserGrid.cpp')
-rw-r--r--browserGrid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/browserGrid.cpp b/browserGrid.cpp
index 4dff8a0..9a947e8 100644
--- a/browserGrid.cpp
+++ b/browserGrid.cpp
@@ -94,7 +94,7 @@ void cBrowserGrid::SwitchView(ViewMode mode)
}
m_pGrid->Clear();
- m_firstElementIter = m_vElements.begin() + activePos;
+ m_startIndex = activePos;
m_setIterator = true;
FilterElements(0);
}
@@ -200,7 +200,7 @@ void cBrowserGrid::ProcessData()
elem->AbsolutePosition = pos++;
}
- m_firstElementIter = m_vElements.begin();
+ m_startIndex = 0;
m_pGrid->Clear();
m_setIterator = true;