From 141cf78b2d51ed80b828649d14a302c7303d835b Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Tue, 31 Oct 2023 12:52:37 +0100 Subject: [PATCH] CompilerExplorer: Fix adding text marks to ASM Change-Id: I99d5090f770ad74c0e0c0317186d436ced492280 Reviewed-by: Reviewed-by: David Schulz --- src/plugins/compilerexplorer/compilerexplorereditor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/compilerexplorer/compilerexplorereditor.cpp b/src/plugins/compilerexplorer/compilerexplorereditor.cpp index 180878ef937..f71010744ef 100644 --- a/src/plugins/compilerexplorer/compilerexplorereditor.cpp +++ b/src/plugins/compilerexplorer/compilerexplorereditor.cpp @@ -479,6 +479,7 @@ void CompilerWidget::doCompile() auto mark = new TextMark(m_asmDocument.get(), i, TextMarkCategory{Tr::tr("Bytes"), "Bytes"}); + m_asmDocument->addMark(mark); mark->setLineAnnotation(l.opcodes.join(' ')); m_marks.append(mark); }