summaryrefslogtreecommitdiff
path: root/Aktywator/MainForm.cs
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-08-22 20:38:50 +0200
committeremkael <emkael@tlen.pl>2017-08-22 20:41:56 +0200
commit4d4d518a2a029603bcc9ec3488c12a185999d314 (patch)
treedfbd2e431b099b2c440610172d9fafe10332f2b8 /Aktywator/MainForm.cs
parentc94ddd514fb44f50c82cad8f8684d72805522bb6 (diff)
Displaying MySQL configuration on start-up only if MySQL has not been configured, regardless of password-less accounts
Fixes #14
Diffstat (limited to 'Aktywator/MainForm.cs')
-rw-r--r--Aktywator/MainForm.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Aktywator/MainForm.cs b/Aktywator/MainForm.cs
index 85ec29f..25268b6 100644
--- a/Aktywator/MainForm.cs
+++ b/Aktywator/MainForm.cs
@@ -31,7 +31,7 @@ namespace Aktywator
private void MainForm_Load(object sender, EventArgs e)
{
- if (MySQL.getPass() == "") (new MysqlSettings()).ShowDialog();
+ if (!MySQL.getConfigured()) (new MysqlSettings()).ShowDialog();
}
private void MainForm_Shown(object sender, EventArgs e)