Skip to content

Commit 4ae86ee

Browse files
committed
Fix for HMDAssistant
1 parent aa90097 commit 4ae86ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HMDAssistant/Unit1.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ procedure TMain.LowResBtnClick(Sender: TObject);
207207

208208
procedure TMain.EditConfigBtnClick(Sender: TObject);
209209
begin
210-
if (EditorPath = '') and (FileExists(EditorPath)) then
210+
if (EditorPath = '') or (FileExists(EditorPath) = false) then
211211
ShellExecute(Handle, 'open', PChar(ConfigPath), nil, nil, SW_SHOWNORMAL)
212212
else
213213
ShellExecute(Handle, 'open', PChar(EditorPath), PChar(ConfigPath), nil, SW_SHOWNORMAL);

0 commit comments

Comments
 (0)