diff --git a/Src/xWorks/XhtmlDocView.cs b/Src/xWorks/XhtmlDocView.cs
index a1dee06191..a0c4d5c8ec 100644
--- a/Src/xWorks/XhtmlDocView.cs
+++ b/Src/xWorks/XhtmlDocView.cs
@@ -1342,7 +1342,8 @@ private void UpdateContent(string configurationFile, bool allOnOnePage = false)
else
{
// Don't load the configuration file twice.
- if (configurationFile == m_loadedConfig)
+ var currentPublication = GetCurrentPublication();
+ if (configurationFile == m_loadedConfig && currentPublication == m_pubDecorator?.Publication?.ChooserNameTS?.Text)
return;
m_loadedConfig = configurationFile;
var xhtmlPath = SaveConfiguredXhtmlWithProgress(configurationFile, allOnOnePage);