@@ -258,6 +258,13 @@ void MainAndSecondaryCamerasWnd::initLeftAndRightWidget() {
}
else {
+ if (lastLastGroupId > m_allGroup.size() || lastGroupId > m_allGroup.size()) {
+ //重置记录
+ lastGroupId = 1;
+ lastIndex = 1;
+ lastLastGroupId = 1;
+ lastLastGroupId = 2;
+ }
m_veCurrentSelectGroup_L.pSelectGroup = m_allGroup.at(lastLastGroupId - 1);
m_veCurrentSelectGroup_R.pSelectGroup = m_allGroup.at(lastGroupId - 1);