Improve refreshing watermark data.
This commit is contained in:
parent
44dffa9c68
commit
341dfadc93
|
@ -357,9 +357,14 @@ VPMainWindow::VPMainWindow(const VPCommandLinePtr &cmd, QWidget *parent) :
|
||||||
}
|
}
|
||||||
|
|
||||||
m_layout->TileFactory()->RefreshTileInfos();
|
m_layout->TileFactory()->RefreshTileInfos();
|
||||||
|
|
||||||
|
if (path == m_layout->LayoutSettings().WatermarkPath())
|
||||||
|
{
|
||||||
m_layoutWatcher->blockSignals(true);
|
m_layoutWatcher->blockSignals(true);
|
||||||
m_layout->TileFactory()->RefreshWatermarkData();
|
m_layout->TileFactory()->RefreshWatermarkData();
|
||||||
m_layoutWatcher->blockSignals(false);
|
m_layoutWatcher->blockSignals(false);
|
||||||
|
}
|
||||||
|
|
||||||
m_graphicsView->RefreshLayout();
|
m_graphicsView->RefreshLayout();
|
||||||
|
|
||||||
if (checkFile.exists())
|
if (checkFile.exists())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user