adding presentations with multiple slides

This commit is contained in:
Chris Cochrun 2023-01-17 05:09:16 -06:00
parent cadd031ac6
commit d868571d72
3 changed files with 22 additions and 10 deletions

View file

@ -516,15 +516,15 @@ Item {
totalServiceItems++;
return;
}
/* if (type === "presentation") { */
/* print("adding: " + name + " of type " + type + " with " + newtext.length + " slides"); */
/* serviceItemModel.insertItem(index, name, */
/* type, background, */
/* backgroundType, "", */
/* "", "", 0, pageCount); */
/* totalServiceItems++; */
/* return; */
/* } */
if (type === "presentation") {
print("adding: " + name + " of type " + type + " with " + dragItemSlideNumber + " slides");
serviceItemModel.insertItem(index, name,
type, background,
backgroundType, "",
"", "", 0, dragItemSlideNumber);
totalServiceItems++;
return;
}
print("adding: " + name + " of type " + type);
serviceItemModel.insertItem(index, name,
type, background,