Skip to content
Merged
Show file tree
Hide file tree
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: 0 additions & 12 deletions Src/xWorks/RecordDocView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -342,12 +342,6 @@ private void RunConfigureDialog(string nodePath)
var sNewLayout = m_propertyTable.GetStringProperty(sProp, null);
ResetTables(sNewLayout);
}
if (dlg.MasterRefreshRequired)
{
#pragma warning disable 618 // suppress obsolete warning
m_mediator.SendMessage("MasterRefresh", null);
#pragma warning restore 618
}
}
}

Expand Down Expand Up @@ -533,12 +527,6 @@ public bool OnConfigureXmlDocView(object commandObject)
(m_rootSite as XmlDocItemView).ResetTables(GetLayoutName(m_configurationParameters, m_mediator, m_propertyTable));
}
}
if (dlg.MasterRefreshRequired)
{
#pragma warning disable 618 // suppress obsolete warning
m_mediator.SendMessage("MasterRefresh", null);
#pragma warning restore 618
}

return true; // we handled it
}
Expand Down
6 changes: 0 additions & 6 deletions Src/xWorks/XmlDocConfigureDlg.cs
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,6 @@ public partial class XmlDocConfigureDlg : Form, ILayoutConverter
private List<ICmPossibility> m_rgComplexFormTypes;
private List<ICmPossibility> m_rgVariantTypes;

/// <summary>
/// True if a MasterRefresh must be done when the dialog closes (even if the user cancels!)
/// This gets set if we change the global homograph configuration while running the dialog.
/// </summary>
public bool MasterRefreshRequired { get; set; }

/// <summary>
/// Label for top of Complex Entry Type list (and top of Minor Entry Type list in Root-based views).
/// </summary>
Expand Down
6 changes: 0 additions & 6 deletions Src/xWorks/XmlDocView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1213,12 +1213,6 @@ private void RunConfigureDialog(string nodePath)
m_mainView.ResetTables(sNewLayout);
SelectAndScrollToCurrentRecord();
}
if (dlg.MasterRefreshRequired)
{
#pragma warning disable 618 // suppress obsolete warning
m_mediator.SendMessage("MasterRefresh", null);
#pragma warning restore 618
}
}
}

Expand Down
Loading