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();
|
||||
}
|
||||
}
|
||||
|
@ -11,6 +11,5 @@
|
||||
Title="TextViewer" Height="450" Width="800">
|
||||
<Grid>
|
||||
<TextBlock FontSize="20" Name="TextBlock" TextWrapping="Wrap"/>
|
||||
<!--<RichTextBox FontSize="15" Name="RichTextBox" AllowDrop="False" IsReadOnly="True"/>-->
|
||||
</Grid>
|
||||
</Window>
|
||||
|
@ -1,16 +1,14 @@
|
||||
using System;
|
||||
using System.Windows;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows;
|
||||
|
||||
namespace Wabbajack.UI
|
||||
{
|
||||
public partial class TextViewer : Window
|
||||
{
|
||||
public TextViewer(string text)
|
||||
public TextViewer(string text, string title)
|
||||
{
|
||||
InitializeComponent();
|
||||
TextBlock.Text = text;
|
||||
|
||||
Title = title;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user