diff options
| author | Mark Rowe <mark@vector35.com> | 2025-10-24 08:21:26 -0700 |
|---|---|---|
| committer | Mark Rowe <mark@vector35.com> | 2025-11-04 16:04:04 -0800 |
| commit | ade58079a0a3e6b9d1a0793ab4c084d0f9431f4d (patch) | |
| tree | 1970e1e26858163d24d1359908b529f363789034 /ui/logview.h | |
| parent | 63ef49621522efa11e1fcfc709812adb0300d3f6 (diff) | |
Update FilterEdit and FilterTarget to preserve existing selections
The down and enter keys now preserve an existing selection in the
associated list or table views, rather than unconditionally selecting or
activating the first item.
Diffstat (limited to 'ui/logview.h')
| -rw-r--r-- | ui/logview.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/logview.h b/ui/logview.h index 36016ff8..0aaf9372 100644 --- a/ui/logview.h +++ b/ui/logview.h @@ -276,8 +276,8 @@ class BINARYNINJAUIAPI LogView : public SidebarWidget, public FilterTarget void scrollToFirstItem() override; void scrollToCurrentItem() override; - void selectFirstItem() override; - void activateFirstItem() override {} + void ensureSelection() override; + void activateSelection() override {} void closeFilter() override; // std::pair<size_t, size_t> GetSelectionIndexAndOffsetFromPosition(const QPoint& position) const; |
