diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2021-10-07 15:18:06 -0600 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2021-10-07 15:18:06 -0600 |
| commit | b11394f052d3b4303af6a5a8011d347c8065c1d4 (patch) | |
| tree | daccdd959ab00ba787fbdd12185745283ead0c75 | |
| parent | 0bab4ba6a769de63e52ecfaa88c09c44928ed838 (diff) | |
Fix collision between shortcuts and starting to filter by name
| -rw-r--r-- | ui/stringsview.h | 1 | ||||
| -rw-r--r-- | ui/symbollist.h | 1 |
2 files changed, 2 insertions, 0 deletions
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); |
