private void OnAppsSelected(object sender, ApplicationsSelectedEventArgs args) { _threadFixPlugin.ToggleMenuCommands(false); _threadFixPlugin.ImportMarkers(_viewModelService.GetSelectedAppIds(args.Model), () => { _threadFixPlugin.StorePluginData(); _threadFixPlugin.UpdateMarkers(); _threadFixPlugin.ToggleMenuCommands(true); new ShowAction(_threadFixPlugin).OnExecute(this, null); }); }