Skip to content

Commit

Permalink
Fix for shader preview window in material tool appearing and then jus…
Browse files Browse the repository at this point in the history
…t disappearing
  • Loading branch information
djewsbury committed Mar 25, 2016
1 parent 10bcda1 commit b2cbb48
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Tools/ControlsLibrary/BasicControls/TextWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,7 @@ static public void ShowModal(String text)

static public void Show(String text)
{
using (var dlg = new TextWindow())
{
dlg.Text = text;
dlg.Show();
}
new TextWindow() { Text = text }.Show();
}

public new string Text { set { _textBox.Text = value; } }
Expand Down

0 comments on commit b2cbb48

Please sign in to comment.