Beispiel #1
0
        /// <summary>
        /// This opens the save directory for the current profile.
        /// </summary>
        private void SaveButtonClickEvent(object sender, EventArgs e)
        {
            if (!IsProfileIndexValid())
            {
                return;
            }
            ProfileXML profile = profileList[modSettingsProfileDropDown.SelectedIndex];

            log.Info("User opened the save directory for profile " + profile.Name + ", which is " + profile.SaveLocation);
            CrossPlatformOperations.OpenFolder(profile.SaveLocation);
        }