Tidying
This commit is contained in:
@@ -40,6 +40,7 @@ void ByteItem::setValue(unsigned char value) {
|
||||
? std::optional(QString(QChar(this->value))) : std::nullopt;
|
||||
|
||||
this->valueInitialised = true;
|
||||
this->update();
|
||||
}
|
||||
|
||||
void ByteItem::paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget) {
|
||||
|
||||
@@ -59,7 +59,6 @@ ByteItemGraphicsScene::ByteItemGraphicsScene(
|
||||
void ByteItemGraphicsScene::updateValues(const Targets::TargetMemoryBuffer& buffer) {
|
||||
for (auto& [address, byteWidget] : this->byteItemsByAddress) {
|
||||
byteWidget->setValue(buffer.at(byteWidget->byteIndex));
|
||||
byteWidget->update();
|
||||
}
|
||||
|
||||
this->updateAnnotationValues(buffer);
|
||||
|
||||
Reference in New Issue
Block a user