Merge pull request #26 from Serraniel/bugfix/#20-application-cannot-be-closed-during-setup
#20 Only continue after login dialog if "ok" is the dialog result. This will close #20 .
This commit is contained in:
commit
caa1190cb2
|
@ -201,7 +201,10 @@ namespace DML.Application.Classes
|
|||
{
|
||||
Logger.Debug("Showing dialog for username and password...");
|
||||
var loginDlg = new LoginDialog();
|
||||
loginDlg.ShowDialog();
|
||||
if (loginDlg.ShowDialog() != DialogResult.OK)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue