Skip to content

Commit 30db0a2

Browse files
tobyaToby Allen
andauthored
Ensure Sheet names with spaces are selected. (#243)
Co-authored-by: Toby Allen <toby@cookingisfun.ie>
1 parent e89c281 commit 30db0a2

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/MainUtils.pas

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ interface
3333
MSVISIO = 4;
3434

3535

36-
DOCTO_VERSION = '1.16.0'; // dont use 0x - choco needs incrementing versions.
36+
DOCTO_VERSION = '1.16.2'; // dont use 0x - choco needs incrementing versions.
3737
DOCTO_VERSION_NOTE = ' x64 Release ';
3838
type
3939

@@ -1291,7 +1291,9 @@ procedure TDocumentConverter.LoadConfig(Params: TStrings);
12911291
else if (id = '--SHEETS') then
12921292
begin
12931293
// Sheet Indexs are 1 based.
1294-
fSelectedSheets.DelimitedText := value;
1294+
1295+
fSelectedSheets.StrictDelimiter := true;
1296+
fSelectedSheets.CommaText := value;
12951297
if fSelectedSheets.Count = 0 then
12961298
begin
12971299
HaltWithConfigError(205,'Expecting > 0 selected sheets: ' + value);

0 commit comments

Comments
 (0)