Fix prevSubImage

This commit is contained in:
2025-03-25 18:26:08 +01:00
parent 7fc6c64fd7
commit 85f9822b96
+1 -1
View File
@@ -266,7 +266,7 @@ void ImageRingList::prevSubImage()
int index = (*m_currImage)->info().index; int index = (*m_currImage)->info().index;
int num = (*m_currImage)->info().num; int num = (*m_currImage)->info().num;
if(num > 1) if(num > 1)
(*m_currImage)->load(index == 1 ? num - 1 : index - 1, m_loadPool); (*m_currImage)->load(index == 0 ? num - 1 : index - 1, m_loadPool);
} }
} }