From: Christoph Egger Date: Thu, 18 Dec 2014 12:25:14 +0000 (+0100) Subject: Consistent coloring X-Git-Tag: v0.1~150 X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=e2c634feac15ca83200e7d2573879595787d5b6b;p=frida%2Ffrida.git Consistent coloring --- diff --git a/src/gui/widgets/BasicBlockWidget.cxx b/src/gui/widgets/BasicBlockWidget.cxx index 282eab2..faaa2a6 100644 --- a/src/gui/widgets/BasicBlockWidget.cxx +++ b/src/gui/widgets/BasicBlockWidget.cxx @@ -21,6 +21,9 @@ void BasicBlockWidget::addItem(uint8_t* bytes, size_t num_bytes, } QString old_text = _widget.text(); + if (old_text == "") { + old_text = ""; + } QString new_text = old_text.remove("
") + "" + bytestring +