From 253fd4ad2d8095cc3c640c99d75ab3fd1cb7282e Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Sun, 12 Oct 2025 22:48:41 -0400 Subject: [WARP] Fix misc sidebar navigation / focus event bugs - Fixed crash related to pending fetch callback for deleted view frame - Fixed focus not being kept for tables in the sidebar, as well as focus in general - Made matched function list navigation require a double click, to fix accidental navigation to other functions --- plugins/warp/ui/plugin.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/warp/ui/plugin.h') diff --git a/plugins/warp/ui/plugin.h b/plugins/warp/ui/plugin.h index 7f406e19..e70b7afa 100644 --- a/plugins/warp/ui/plugin.h +++ b/plugins/warp/ui/plugin.h @@ -18,6 +18,9 @@ class WarpSidebarWidget : public SidebarWidget QAction* m_matcherAction; bool isMatcherRunning = false; + std::shared_ptr m_fetcher; + WarpFetcher::CallbackId m_callbackId; + WarpCurrentFunctionWidget* m_currentFunctionWidget; WarpMatchedWidget* m_matchedWidget; WarpContainersPane* m_containerWidget; @@ -29,8 +32,6 @@ public: QWidget* headerWidget() override { return m_headerWidget; } - void focus() override; - void Update(); void setMatcherActionIcon(bool running); -- cgit v1.3.1