mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 22:44:56 -04:00
added clear selection to YACReaderTreeView if a mouse click is received in a place without a valid model index
This commit is contained in:
@ -8,7 +8,7 @@ class YACReaderTreeView : public QTreeView
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit YACReaderTreeView(QWidget *parent = 0);
|
||||
|
||||
void mousePressEvent(QMouseEvent *event);
|
||||
protected slots:
|
||||
//fix for drop auto expand
|
||||
void expandCurrent();
|
||||
|
Reference in New Issue
Block a user