mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 05:56:58 +01:00
Fix errors not showing up in editor
This commit is contained in:
@@ -232,12 +232,15 @@ namespace TGControlPanel
|
||||
if (entry == null)
|
||||
{
|
||||
StaticFileEditTextbox.ReadOnly = true;
|
||||
StaticFileEditTextbox.Text = "ERROR: " + entry;
|
||||
StaticFileEditTextbox.Text = "ERROR: " + error;
|
||||
if (unauthorized && !title.Contains(" (UNAUTHORIZED)"))
|
||||
StaticFileListBox.Items[newIndex] = title + " (UNAUTHORIZED)";
|
||||
}
|
||||
StaticFileEditTextbox.ReadOnly = false;
|
||||
StaticFileEditTextbox.Text = entry;
|
||||
else
|
||||
{
|
||||
StaticFileEditTextbox.ReadOnly = false;
|
||||
StaticFileEditTextbox.Text = entry;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user