From 4d4d518a2a029603bcc9ec3488c12a185999d314 Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 22 Aug 2017 20:38:50 +0200 Subject: Displaying MySQL configuration on start-up only if MySQL has not been configured, regardless of password-less accounts Fixes #14 --- Aktywator/MainForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Aktywator/MainForm.cs') 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) -- cgit v1.2.3