From ade58079a0a3e6b9d1a0793ab4c084d0f9431f4d Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Fri, 24 Oct 2025 08:21:26 -0700 Subject: 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. --- ui/variablelist.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/variablelist.h') diff --git a/ui/variablelist.h b/ui/variablelist.h index 93e2cf7a..43e6b65c 100644 --- a/ui/variablelist.h +++ b/ui/variablelist.h @@ -257,8 +257,8 @@ class BINARYNINJAUIAPI VariableList : public SidebarWidget, public FilterTarget virtual void setFilter(const std::string& filter) override; virtual void scrollToFirstItem() override; virtual void scrollToCurrentItem() override; - virtual void selectFirstItem() override; - virtual void activateFirstItem() override; + virtual void ensureSelection() override; + virtual void activateSelection() override; }; /*! The main variable list dock widget. -- cgit v1.3.1