Skip to content

Commit 3412412

Browse files
Fixed reset button
The program now exits correctly after reset.
1 parent d82ddd0 commit 3412412

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

CSGO Font Manager/Form1.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ private static void SetupFolderStructure()
149149
}
150150
else
151151
{
152-
MessageBox.Show("Appdata does not exist... You're not running this on linux or mac huh..", "No can do");
152+
MessageBox.Show("Appdata does not exist... You're not running this on linux or mac huh..?", "No can do");
153153
Application.Exit(new CancelEventArgs());
154154
}
155155

@@ -773,8 +773,7 @@ private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs
773773
"Current CS:GO Folder: " + Settings.CsgoPath + "\n\nAre you sure you want to reset Font Manager?", "Reset?", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
774774
{
775775
Directory.Delete(DataPath, true);
776-
LoadCSGOFolder();
777-
checkForUpdates();
776+
Environment.Exit(0);
778777
}
779778
}
780779

Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)