From 22d5bcbcb79dea84e7aab4e2032ae3638fbca581 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 16 Sep 2016 11:07:37 +0200 Subject: Always select and set current first row --- torrentwidget.h | 1 + 1 file changed, 1 insertion(+) (limited to 'torrentwidget.h') diff --git a/torrentwidget.h b/torrentwidget.h index 00b4c35..075e6c5 100644 --- a/torrentwidget.h +++ b/torrentwidget.h @@ -43,6 +43,7 @@ class TorrentWidget : public QWidget { void torrentInfo(); void searchFile(); void fileSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected); + void selectFirst(); protected: virtual void keyPressEvent(QKeyEvent *e); -- cgit v1.2.3-70-g09d2