summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/triage/byte.cpp2
-rw-r--r--examples/triage/view.cpp3
2 files changed, 4 insertions, 1 deletions
diff --git a/examples/triage/byte.cpp b/examples/triage/byte.cpp
index c3a91372..be25368a 100644
--- a/examples/triage/byte.cpp
+++ b/examples/triage/byte.cpp
@@ -548,6 +548,7 @@ void ByteView::repositionCaret()
m_cursorTimer->start();
updateCaret();
UIContext::updateStatus();
+ updateCrossReferenceSelection();
}
@@ -817,6 +818,7 @@ void ByteView::selectAll()
m_cursorAddr = getEnd();
viewport()->update();
UIContext::updateStatus();
+ updateCrossReferenceSelection();
}
diff --git a/examples/triage/view.cpp b/examples/triage/view.cpp
index 417006b2..e69fa0d9 100644
--- a/examples/triage/view.cpp
+++ b/examples/triage/view.cpp
@@ -135,7 +135,8 @@ void TriageView::setSelectionOffsets(BNAddressRange range)
void TriageView::setCurrentOffset(uint64_t offset)
{
m_currentOffset = offset;
- UIContext::updateStatus(true);
+ UIContext::updateStatus();
+ updateCrossReferenceSelection();
}