From bd85e9c3224343f59cd8675591a88aad8493e10d Mon Sep 17 00:00:00 2001 From: fufesou <13586388+fufesou@users.noreply.github.com> Date: Wed, 7 May 2025 10:07:24 +0800 Subject: [PATCH] fix: sciter, check, has_file_clipboard (#11666) Signed-off-by: fufesou --- src/ui/header.tis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/header.tis b/src/ui/header.tis index 13bd98de5..305248b45 100644 --- a/src/ui/header.tis +++ b/src/ui/header.tis @@ -178,7 +178,7 @@ class Header: Reactor.Component { if (handler.version_cmp(pi.version, '1.2.4') < 0) { is_file_copy_paste_supported = is_win && pi.platform == "Windows"; } else { - is_file_copy_paste_supported = handler.has_file_clipboard() && pi.platform_additions.has_file_clipboard; + is_file_copy_paste_supported = handler.has_file_clipboard() && pi.platform_additions?.has_file_clipboard; } return