From b11394f052d3b4303af6a5a8011d347c8065c1d4 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Thu, 7 Oct 2021 15:18:06 -0600 Subject: Fix collision between shortcuts and starting to filter by name --- ui/stringsview.h | 1 + ui/symbollist.h | 1 + 2 files changed, 2 insertions(+) diff --git a/ui/stringsview.h b/ui/stringsview.h index e9d435d4..b70c6d68 100644 --- a/ui/stringsview.h +++ b/ui/stringsview.h @@ -113,6 +113,7 @@ public: virtual QFont getFont() override { return m_itemDelegate->getFont(); } protected: virtual void keyPressEvent(QKeyEvent* event) override; + virtual bool event(QEvent* event) override; private Q_SLOTS: void goToString(const QModelIndex& idx); diff --git a/ui/symbollist.h b/ui/symbollist.h index ae2ee7ff..471a6e00 100644 --- a/ui/symbollist.h +++ b/ui/symbollist.h @@ -338,6 +338,7 @@ public: protected: virtual void focusOutEvent(QFocusEvent* event) override; virtual void keyPressEvent(QKeyEvent* event) override; + virtual bool event(QEvent* event) override; private Q_SLOTS: void goToSymbol(const QModelIndex& i); -- cgit v1.3.1