]> git.siccegge.de Git - frida/frida.git/commitdiff
Consistent coloring
authorChristoph Egger <siccegge@faui49man12.informatik.uni-erlangen.de>
Thu, 18 Dec 2014 12:25:14 +0000 (13:25 +0100)
committerChristoph Egger <siccegge@faui49man12.informatik.uni-erlangen.de>
Thu, 18 Dec 2014 12:25:14 +0000 (13:25 +0100)
src/gui/widgets/BasicBlockWidget.cxx

index 282eab27c53b0e869f4a3241445397bfabf77891..faaa2a6aad7b797de6faa6d8c3d42aa1be380a60 100644 (file)
@@ -21,6 +21,9 @@ void BasicBlockWidget::addItem(uint8_t* bytes, size_t num_bytes,
     }
 
        QString old_text = _widget.text();
+       if (old_text == "") {
+               old_text = "<table style=\"background-color: #ccccff;\">";
+       }
        QString new_text =
                old_text.remove("</table>") +
                "<tr><td>" + bytestring +