1.4.3 #38

Merged
Hesham merged 25 commits from release/1.4.3 into master 2018-12-21 22:19:53 +01:00
Showing only changes of commit 98031dbe48 - Show all commits

View File

@ -97,7 +97,7 @@ namespace OWTrack
{
if (!tr.LoacteOW())
{
tr.gamePath = getGamePath();
tr.gamePath = askForGamePath();
}
}
st.Close();
@ -110,14 +110,14 @@ namespace OWTrack
}
else if (!tr.LoacteOW())
{
tr.gamePath = getGamePath();
tr.gamePath = askForGamePath();
}
ExeTrackCheckBx.Checked = tr.TrackOW;
SRCheckBx.Checked = tr.TrackSR;
update();
}
private string getGamePath()
private string askForGamePath()
{
openFileDialog1.Title = "Select Overwatch.exe";
openFileDialog1.DefaultExt = "exe";
@ -239,7 +239,7 @@ namespace OWTrack
private void ChngOWPathBtn_Click(object sender, EventArgs e)
{
tr.gamePath = getGamePath();
tr.gamePath = askForGamePath();
update();
}