mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Changed text viewer title to modlist title
This commit is contained in:
parent
299f22b1fc
commit
ec4ea0898d
@ -273,7 +273,7 @@ namespace Wabbajack
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var viewer = new TextViewer(text);
|
var viewer = new TextViewer(text, _ModListName);
|
||||||
viewer.Show();
|
viewer.Show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,5 @@
|
|||||||
Title="TextViewer" Height="450" Width="800">
|
Title="TextViewer" Height="450" Width="800">
|
||||||
<Grid>
|
<Grid>
|
||||||
<TextBlock FontSize="20" Name="TextBlock" TextWrapping="Wrap"/>
|
<TextBlock FontSize="20" Name="TextBlock" TextWrapping="Wrap"/>
|
||||||
<!--<RichTextBox FontSize="15" Name="RichTextBox" AllowDrop="False" IsReadOnly="True"/>-->
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
|
@ -1,16 +1,14 @@
|
|||||||
using System;
|
using System.Windows;
|
||||||
using System.Windows;
|
|
||||||
using System.Windows.Documents;
|
|
||||||
|
|
||||||
namespace Wabbajack.UI
|
namespace Wabbajack.UI
|
||||||
{
|
{
|
||||||
public partial class TextViewer : Window
|
public partial class TextViewer : Window
|
||||||
{
|
{
|
||||||
public TextViewer(string text)
|
public TextViewer(string text, string title)
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
TextBlock.Text = text;
|
TextBlock.Text = text;
|
||||||
|
Title = title;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user