GUI: Tidy up status messages a bit

This commit is contained in:
Katy Coe
2020-12-22 03:18:32 +01:00
parent e058c39f19
commit e7bcd41d84
3 changed files with 4 additions and 4 deletions

View File

@@ -84,7 +84,7 @@ namespace Il2CppInspectorGUI
+ Environment.NewLine + Environment.NewLine + "The application will continue but may not behave as expected.", "Plugin error");
};
PluginManager.StatusHandler += (s, e) => StatusUpdate(e.Plugin, "Plugin " + e.Plugin.Name + ": " + e.Text);
PluginManager.StatusHandler += (s, e) => StatusUpdate(e.Plugin, "[" + e.Plugin.Name + "]\n" + e.Text);
}
public void ResetLoadOptions() {
@@ -124,8 +124,6 @@ namespace Il2CppInspectorGUI
public Task<bool> LoadMetadataAsync(MemoryStream metadataStream) =>
Task.Run(() => {
try {
OnStatusUpdate?.Invoke(this, "Processing metadata");
metadata = Metadata.FromStream(metadataStream, StatusUpdate);
return true;
}