Esempio n. 1
0
        public void SelectProfile(int index)
        {
            // no changing profiles while the thing is running - just too confusing !
            if (Controller.GetController().appState == Controller.AppState.running)
            {
                return;
            }

            currentProfile = (Profile)profiles[index];
            window.WriteLine("Profile changed");
            if (processor.groupEditMode)
            {
                window.WriteLine("Group changed to " + currentProfile.Group);
                window.Prompt = currentProfile.Group + ":>";
            }
            window.UpdateUI();
        }