Skip to content

Commit

Permalink
Merge pull request #873 from VladiStep/tabWarningFix
Browse files Browse the repository at this point in the history
Fix of tabs-related WPF binding warning.
  • Loading branch information
Grossley authored Apr 29, 2022
2 parents 3aebf87 + 641dbcd commit 4f6cee0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions UndertaleModTool/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3540,6 +3540,11 @@ public class DescriptionView
public string Heading { get; private set; }
public string Description { get; private set; }

// Used only by the "TabTitleConverter" to prevent the following WPF binding warning:
// "Name property not found on object of type DescriptionView".
// (within "TabControl.ItemTemplate")
public UndertaleString Name { get; } = new();

public DescriptionView(string heading, string description)
{
Heading = heading;
Expand Down

0 comments on commit 4f6cee0

Please sign in to comment.