From 9daeb15dca11812ada099ab9fb6191d277488431 Mon Sep 17 00:00:00 2001 From: Mechanel Date: Thu, 6 Jun 2024 19:36:29 +0800 Subject: [PATCH] fix --- Fk/Pages/Room.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Fk/Pages/Room.qml b/Fk/Pages/Room.qml index d3682914..9928829a 100644 --- a/Fk/Pages/Room.qml +++ b/Fk/Pages/Room.qml @@ -839,7 +839,8 @@ Item { cancelButton.enabled = true; } else { skillInteraction.sourceComponent = undefined; - roomScene.popupBox.item.close(); + if (roomScene.popupBox.item) + roomScene.popupBox.item.close(); Logic.doCancelButton(); } }