ensuring focus and making nextSlideAction not crash
This commit is contained in:
parent
3e9f8974c9
commit
3b0403fed6
3 changed files with 15 additions and 13 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue