Skip to content

Commit f5fb17a

Browse files
authored
Fix LT-22406: Wrong Help topic for Configure Classified Dictionary (#666)
1 parent bb75a95 commit f5fb17a

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

Src/LexText/LexTextDll/HelpTopicPaths.resx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2739,6 +2739,10 @@
27392739
<value>/User_Interface/Menus/Tools/Configure_Dictionary/Configure_Dictionary.htm</value>
27402740
<comment>Configure Dictionary Dialog box.</comment>
27412741
</data>
2742+
<data name="khtpConfigureClassifiedDictionary" xml:space="preserve">
2743+
<value>/User_Interface/Menus/Tools/Configure_Classified_Dictionary/Configure_Classified_Dictionary_View_dlgbox.htm</value>
2744+
<comment>Configure Classified Dictionary Dialog box.</comment>
2745+
</data>
27422746
<data name="khtpDictConfigManager" xml:space="preserve">
27432747
<value>/User_Interface/Menus/Tools/Configure_Dictionary/Manage_Dictionary_Views.htm</value>
27442748
<comment>Configure Dictionary Dialog box.</comment>

Src/xWorks/DictionaryConfigurationListener.cs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,15 @@ public virtual bool OnDisplayConfigureXmlDocView(object commandObject,
9393

9494
internal static string GetConfigDialogHelpTopic(PropertyTable propertyTable)
9595
{
96-
return GetDictionaryConfigurationBaseType(propertyTable) == ReversalType
97-
? "khtpConfigureReversalIndex" : "khtpConfigureDictionary";
96+
switch (GetDictionaryConfigurationBaseType(propertyTable))
97+
{
98+
case ReversalType:
99+
return "khtpConfigureReversalIndex";
100+
case ClassifiedType:
101+
return "khtpConfigureClassifiedDictionary";
102+
default:
103+
return "khtpConfigureDictionary";
104+
}
98105
}
99106

100107
/// <summary>

0 commit comments

Comments
 (0)