From 654d5ad4473d3f9180b3c5e8ddfbc4c8c8ee9618 Mon Sep 17 00:00:00 2001 From: Ilya Kirillov Date: Wed, 5 Nov 2025 19:54:20 +0300 Subject: [PATCH] Fix bug #78036 Don't show checkbox-form track for labeled checkbox --- word/Editor/StructuredDocumentTags/InlineLevel.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/word/Editor/StructuredDocumentTags/InlineLevel.js b/word/Editor/StructuredDocumentTags/InlineLevel.js index bb38752d00..53763882a0 100644 --- a/word/Editor/StructuredDocumentTags/InlineLevel.js +++ b/word/Editor/StructuredDocumentTags/InlineLevel.js @@ -1313,7 +1313,8 @@ CInlineLevelSdt.prototype.DrawContentControlsTrack = function(nType, X, Y, nCurP let oMainForm; if (this.IsForm() && (oMainForm = this.GetMainForm()) && oMainForm !== this) { - if (oMainForm.IsLabeledCheckBox()) + let parent = this.GetParent(); + if ((parent instanceof AscWord.CInlineLevelSdt) && parent.IsLabeledCheckBox()) return false; if (AscCommon.ContentControlTrack.Hover === nType)