Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Src/xWorks/DictionaryConfigurationListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,12 @@ internal static string GetDefaultConfigurationDirectory(string area)
/// </summary>
private static string GetInnermostConfigurationDirectory(IPropertyRetriever propertyTable, ICmObject obj = null)
{
switch(propertyTable.GetStringProperty("currentContentControl", null))
if (obj is ILexEntry)
{
// For popup lexical entry editor (LT-22345).
return DictConfigDirName;
}
switch (propertyTable.GetStringProperty("currentContentControl", null))
{
case "reversalToolBulkEditReversalEntries":
case "reversalToolEditComplete":
Expand All @@ -193,11 +198,6 @@ private static string GetInnermostConfigurationDirectory(IPropertyRetriever prop
case "lexiconClassifiedDictionary":
return ClassifiedDictConfigDirName;
default:
if (obj is ILexEntry)
{
// For popup lexical entry editor (LT-22345).
return DictConfigDirName;
}
return null;
}
}
Expand Down
Loading