From dc3fe4f3c4975097f9843ffd9b6d4c7a637db345 Mon Sep 17 00:00:00 2001 From: xarkes Date: Wed, 31 Jan 2018 11:06:45 +0100 Subject: [PATCH] Fix typo --- src/widgets/DisassemblerGraphView.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/widgets/DisassemblerGraphView.cpp b/src/widgets/DisassemblerGraphView.cpp index d99bd481..a2335efc 100644 --- a/src/widgets/DisassemblerGraphView.cpp +++ b/src/widgets/DisassemblerGraphView.cpp @@ -170,7 +170,7 @@ void DisassemblerGraphView::loadCurrentGraph() RichTextPainter::List richText; QString disas; - if (Core()->getConfigb("asm.emu")) + if (Core()->getConfigb("asm.esil")) disas = op["esil"].toString(); else disas = op["disasm"].toString(); @@ -209,13 +209,9 @@ void DisassemblerGraphView::loadCurrentGraph() int blockLength = Config()->getGraphBlockMaxChars() + Core()->getConfigb("asm.bytes") * 24 + Core()->getConfigb("asm.emu") * 10; i.text = Text(RichTextPainter::cropped(richText, blockLength, "...", &cropped)); if(cropped) - { i.fullText = richText; - } else - { i.fullText = Text(); - } db.instrs.push_back(i); } disassembly_blocks[db.entry] = db;