private void button_Edit(object sender, RoutedEventArgs e) { MacroEditor editor = new MacroEditor(Macros) { Owner = Application.Current.MainWindow }; editor.ShowDialog(); AppConfig.Settings.Save(); }
private void button_Edit(object sender, RoutedEventArgs e) { MacroEditor editor = new MacroEditor(Macros) { Owner = Application.Current.MainWindow }; editor.ShowDialog(); MacrosChanged?.Invoke(); }