mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 13:04:28 -04:00
Fix clicking on the folders treeview when it shown results from search
This was a bug introduced when support for folder navigation using the keyboard was added.
This commit is contained in:
@ -9,6 +9,7 @@ class YACReaderTreeView : public QTreeView
|
||||
public:
|
||||
explicit YACReaderTreeView(QWidget *parent = 0);
|
||||
void mousePressEvent(QMouseEvent *event) override;
|
||||
void mouseReleaseEvent(QMouseEvent *event) override;
|
||||
signals:
|
||||
void currentIndexChanged(const QModelIndex &);
|
||||
protected slots:
|
||||
@ -28,6 +29,7 @@ protected:
|
||||
QTimer expandTimer;
|
||||
QTimer t;
|
||||
QPoint expandPos;
|
||||
boolean clicking;
|
||||
};
|
||||
|
||||
#endif // YACREADER_TREEVIEW_H
|
||||
|
Reference in New Issue
Block a user