summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2025-08-15 17:40:23 +0800
committerlittleblack111 <littleblack11111@gmail.com>2025-08-15 17:40:23 +0800
commit8b83d14d8349f18543b734e978002022fdab3e3b (patch)
tree635020728d931fc18a7bc72f786fce3f82b3c300
parent4dec9b755e3ae4528d50cc9902f658f4ef011f4d (diff)
fix(SelectionState): syncSelectionState might not exist?
fixup 73b2e1d104137bb651cf659e8976b45194b0862f
-rw-r--r--launcher/components/SelectionState.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/components/SelectionState.qml b/launcher/components/SelectionState.qml
index 24d278a..20d7fdf 100644
--- a/launcher/components/SelectionState.qml
+++ b/launcher/components/SelectionState.qml
@@ -33,6 +33,6 @@ Singleton {
priorities.forEach((item, index) => {});
- priorities[selectedPriority].syncSelectionState();
+ priorities[selectedPriority]?.syncSelectionState();
}
}