ensuring focus and making nextSlideAction not crash

This commit is contained in:
Chris Cochrun 2022-10-06 06:34:30 -05:00
parent 3e9f8974c9
commit 3b0403fed6
3 changed files with 15 additions and 13 deletions

View file

@ -140,6 +140,7 @@ Controls.Page {
function changeServiceItem(index) {
const item = serviceItemModel.getItem(index);
currentServiceItem = index;
print("index grabbed: " + index);
print(item);
@ -213,7 +214,7 @@ Controls.Page {
imageEditor.visible = false;
presentationEditor.visible = false;
presentation.visible = true;
presentation.forceActiveFocus();
presentation.focusTimer = true;
editMode = false;
}
} else {
@ -223,7 +224,7 @@ Controls.Page {
imageEditor.visible = false;
presentationEditor.visible = false;
presentation.visible = true;
presentation.forceActiveFocus();
presentation.focusTimer = true;
editMode = false;
presenting = true;
}