From c08ddcab02433cb5078b6cfea11bf972e47b3169 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Wed, 2 Jun 2021 11:27:24 -0400 Subject: Add sidebar and move some dock widgets to it --- examples/triage/byte.cpp | 2 ++ examples/triage/view.cpp | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'examples') 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(); } -- cgit v1.3.1