Reload image when header is updated

This commit is contained in:
2025-04-09 14:58:23 +02:00
parent 90026f931f
commit 8178efdafd
7 changed files with 17 additions and 0 deletions
+10
View File
@@ -294,6 +294,16 @@ void ImageRingList::setMarked()
setFilesPrivate(files);
}
void ImageRingList::reloadImage()
{
if(*m_currImage)
{
int index = (*m_currImage)->info().index;
(*m_currImage)->release();
(*m_currImage)->load(index, m_loadPool);
}
}
void ImageRingList::setLiveMode(bool live)
{
m_liveMode = live;