Minor performance fix

This commit is contained in:
Ansgar Becker
2020-02-05 17:35:24 +01:00
parent 0254345ff3
commit ec31a25e96

View File

@ -366,8 +366,8 @@ begin
// Connect to selected session
Params := CurrentParams;
if (CurrentParams.NetType = ntSQLite)
and (not FileExists(CurrentParams.Hostname))
if (Params.NetType = ntSQLite)
and (not FileExists(Params.Hostname))
then begin
Msg := f_('Database file "%s" does not exist. Shall it be created now?', [Params.Hostname]);
DoCreateDb := MessageDialog(Msg, mtConfirmation, [mbNo, mbYes]);