Skip to content

Commit

Permalink
LT-21990: Refresh dictionary on publication change
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeOliver28 committed Dec 12, 2024
1 parent eb4a00b commit 279ba6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Src/xWorks/XhtmlDocView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 279ba6d

Please sign in to comment.