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: 12 additions & 0 deletions Src/Common/Controls/DetailControls/StringSlice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,10 @@ public override void Display(IVwEnv vwenv, int hvo, int frag)
#endregion // View Constructors

#region RootSite implementation
/// <summary>
/// This is a RootSiteControl that displays a non-multilingual string slice
/// Data entry should always default to the DefaultAnalWs writing system according to LT-22145
/// </summary>
class StringSliceView : RootSiteControl, INotifyControlInCurrentSlice
{
ICmObject m_obj;
Expand Down Expand Up @@ -421,6 +425,14 @@ public int DefaultWs
(m_vc as StringSliceVc).DefaultWs = value;
}
}

public override int WsPending
{
// Ignore requests to set pending writing system, this slice always deals with the DefaultAnalWs.
// ReSharper disable once ValueParameterNotUsed
set { }
get => Cache != null ? Cache.DefaultAnalWs : -1;
}
#region IDisposable override

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion Src/Common/SimpleRootSite/SimpleRootSite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1692,7 +1692,7 @@ public virtual Rectangle AdjustedClientRectangle
/// informtion away and reset the keyboard).
/// </remarks>
/// -----------------------------------------------------------------------------------
public int WsPending
public virtual int WsPending
{
get
{
Expand Down
Loading