Skip to content

Commit

Permalink
Don't force the use of the TranslationHelper dialog in the XmlDocumen…
Browse files Browse the repository at this point in the history
…t converter unless the user requests it.
  • Loading branch information
bobeaton committed Apr 30, 2024
1 parent ee4c053 commit ee82692
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SilConvertersXML/XMLViewForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,8 @@ public void ProcessAndSave(bool bShowUI, bool useTranslationForm, string strOutp

string strInput = xpIterator.Current.Value;
string strOutput = strInput;
var isTranslatorResource = (((ProcessTypeFlags)aEC.GetEncConverter.ProcessType & ProcessTypeFlags.Translation) == ProcessTypeFlags.Translation);
if (bShowUI && (useTranslationForm || isTranslatorResource))
// var isTranslatorResource = (((ProcessTypeFlags)aEC.GetEncConverter.ProcessType & ProcessTypeFlags.Translation) == ProcessTypeFlags.Translation);
if (bShowUI && (useTranslationForm /* || isTranslatorResource */))
{
if (!_mapConverterToTranslationForm.TryGetValue(aEC.Name, out TranslationHelperForm form))
{
Expand Down

0 comments on commit ee82692

Please sign in to comment.