diff options
Diffstat (limited to 'src/Authoring/Client/Code/Core/Doc/DocumentBufferCache.cpp')
-rw-r--r-- | src/Authoring/Client/Code/Core/Doc/DocumentBufferCache.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Authoring/Client/Code/Core/Doc/DocumentBufferCache.cpp b/src/Authoring/Client/Code/Core/Doc/DocumentBufferCache.cpp index 1ff4bd5a..a22a1376 100644 --- a/src/Authoring/Client/Code/Core/Doc/DocumentBufferCache.cpp +++ b/src/Authoring/Client/Code/Core/Doc/DocumentBufferCache.cpp @@ -135,6 +135,15 @@ struct SDocBufferCache : public IDocumentBufferCache } } + void reloadImageSet(const QSet<QString> &imageSet) override + { + auto bufMan = GetBufferManager(); + if (bufMan) { + bufMan->unloadSet(imageSet); + bufMan->loadSet(imageSet); + } + } + // Names are declared in the same order as the primitives // offset by the empty primitive const wchar_t **GetPrimitiveNames() override |