From 5da5e2bfb276b959c76e7b177667b09a87561b99 Mon Sep 17 00:00:00 2001 From: Miepee <38186597+Miepee@users.noreply.github.com> Date: Sun, 18 Apr 2021 13:37:02 +0200 Subject: [PATCH] opening profile save folders behaviour is more logical now --- AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs index 4312b50..642b54f 100644 --- a/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs +++ b/AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs @@ -591,8 +591,8 @@ namespace AM2RLauncher { if (IsProfileIndexValid()) { - log.Info("User opened the save directory for profile " + profileList[profileIndex.Value].Name + ", which is " + profileList[profileIndex.Value].SaveLocation); - CrossPlatformOperations.OpenFolder(profileList[profileIndex.Value].SaveLocation); + log.Info("User opened the save directory for profile " + profileList[settingsProfileDropDown.SelectedIndex].Name + ", which is " + profileList[settingsProfileDropDown.SelectedIndex].SaveLocation); + CrossPlatformOperations.OpenFolder(profileList[settingsProfileDropDown.SelectedIndex].SaveLocation); } }