mirror of
https://github.com/ok2cqr/cqrlog.git
synced 2024-09-21 02:17:19 +00:00
Fix for opening certain filenames in the EDI file export.
The feature for checking your EDI file when it has been created will not open all filenames / paths. The failing files / paths are those with one or more spaces in them. The remedy is to quote the string. The same error exists in the Cabrillo export as well. (#517)
This commit is contained in:
parent
f4d5d1e48d
commit
86f06fee85
@ -163,7 +163,7 @@ begin
|
||||
try
|
||||
prg := cqrini.ReadString('ExtView', 'txt', '');
|
||||
if prg<>'' then
|
||||
dmUtils.RunOnBackground(prg + ' ' + f)
|
||||
dmUtils.RunOnBackground(prg + ' ' + '"' + f + '"')
|
||||
else ShowMessage('No external text viewer defined!'+#10+'See: prefrences/External viewers');
|
||||
finally
|
||||
//done
|
||||
|
@ -159,7 +159,7 @@ begin
|
||||
try
|
||||
prg := cqrini.ReadString('ExtView', 'txt', '');
|
||||
if prg<>'' then
|
||||
dmUtils.RunOnBackground(prg + ' ' + edtFileName.Text)
|
||||
dmUtils.RunOnBackground(prg + ' ' + '"' + edtFileName.Text + '"')
|
||||
else ShowMessage('No external text viewer defined!'+#10+'See: prefrences/External viewers');
|
||||
finally
|
||||
//done
|
||||
|
Loading…
Reference in New Issue
Block a user