diff --git a/src/gui/entry/EntryView.cpp b/src/gui/entry/EntryView.cpp index fa1deb6d5..09362e391 100644 --- a/src/gui/entry/EntryView.cpp +++ b/src/gui/entry/EntryView.cpp @@ -200,12 +200,6 @@ void EntryView::focusInEvent(QFocusEvent* event) QTreeView::focusInEvent(event); } -void EntryView::focusOutEvent(QFocusEvent* event) -{ - emit entrySelectionChanged(nullptr); - QTreeView::focusOutEvent(event); -} - void EntryView::displayGroup(Group* group) { m_model->setGroup(group); diff --git a/src/gui/entry/EntryView.h b/src/gui/entry/EntryView.h index c61fa6884..90f37abfc 100644 --- a/src/gui/entry/EntryView.h +++ b/src/gui/entry/EntryView.h @@ -59,7 +59,6 @@ signals: protected: void keyPressEvent(QKeyEvent* event) override; void focusInEvent(QFocusEvent* event) override; - void focusOutEvent(QFocusEvent* event) override; void showEvent(QShowEvent* event) override; private slots: