Setup: Fixed crash in setup wizard on new installations

This commit is contained in:
Sour 2018-04-01 09:19:09 -04:00
parent 6275d6948b
commit dc8382faf0
2 changed files with 3 additions and 2 deletions

View File

@ -16,7 +16,7 @@ using Mesen.GUI.Config;
namespace Mesen.GUI.Forms
{
public partial class frmConfigWizard : BaseForm
public partial class frmConfigWizard : Form
{
private PrivateFontCollection _fonts = new PrivateFontCollection();
@ -24,6 +24,7 @@ namespace Mesen.GUI.Forms
{
InitializeComponent();
this.Icon = Properties.Resources.MesenIcon;
lblLocation.Text = ConfigManager.DefaultDocumentsFolder;
lblLocation.ForeColor = Color.FromArgb(61,125,255);
lblCancel.ForeColor = Color.FromArgb(61, 125, 255);

View File

@ -1,7 +1,7 @@
Mesen is a cross-platform NES/Famicom emulator for Windows & Linux built in C++ and C#.
If you want to support this project, please consider making a donation:
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=W97QP2LYC9H4W"><img src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" title="Donate to this project using Paypal" alt="Donate to this project using Paypal"/></a>
<a href="https://www.mesen.ca/Donate.php"><img src="https://www.mesen.ca/images/donate.png" alt="Donate"></a>
[Website (https://www.mesen.ca)](https://www.mesen.ca)
[Documentation (https://www.mesen.ca/docs)](https://www.mesen.ca/docs)