Skip to content

Commit 2bbd488

Browse files
committed
don't care tbh
1 parent 07e7a52 commit 2bbd488

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

DeCraftLauncher/WindowProcessLog.xaml.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ public WindowProcessLog(Process t)
155155
Dispatcher.Invoke(delegate
156156
{
157157
logtext.Text += "Process exited with code " + t.ExitCode;
158+
if (logtext.Text.Contains("\n\tat "))
159+
{
160+
logtext.Text += "\n[F1]: translate the stack trace using a TinyV2 mappings file";
161+
}
158162
logscroller.ScrollToVerticalOffset(logscroller.ExtentHeight);
159163
proc_kill.Visibility = Visibility.Hidden;
160164

@@ -286,7 +290,7 @@ public string ProcessLogTranslateString(string a, TinyV2Mapper tinyV2Mapper)
286290
protected override void OnKeyDown(System.Windows.Input.KeyEventArgs e)
287291
{
288292
//todo: make this a visible option
289-
if (e.Key == Key.Pause)
293+
if (e.Key == Key.F1)
290294
{
291295
OpenFileDialog tinyV2MapDialog = new OpenFileDialog();
292296
tinyV2MapDialog.Filter = "TinyV2 Files|*.tiny";

0 commit comments

Comments
 (0)