GUI: Show progress messages in busy indicator
This commit is contained in:
@@ -26,8 +26,13 @@ namespace Il2CppInspectorGUI
|
||||
{
|
||||
public MainWindow() {
|
||||
InitializeComponent();
|
||||
|
||||
// Subscribe to status update events
|
||||
((App) Application.Current).OnStatusUpdate += OnStatusUpdate;
|
||||
}
|
||||
|
||||
private void OnStatusUpdate(object sender, string e) => txtBusyStatus.Dispatcher.Invoke(() => txtBusyStatus.Text = e + "...");
|
||||
|
||||
/// <summary>
|
||||
/// Select global metadata file
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user