Fix entry preview resetting when focusing out of entry view

* Fixes #7061
* This bug impacts linux only when clicking in the preview panel.
This commit is contained in:
Jonathan White 2021-10-22 20:59:58 -04:00
parent 004f2b6801
commit c37e2d3d69
2 changed files with 0 additions and 7 deletions

View File

@ -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);

View File

@ -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: